You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

306 lines
16 KiB

  1. <!DOCTYPE html>
  2. <!--[if IE]><![endif]-->
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <title>Class CannotRuntimeDisableException
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class CannotRuntimeDisableException
  11. ">
  12. <meta name="generator" content="docfx 2.59.3.0">
  13. <link rel="shortcut icon" href="../favicon.ico">
  14. <link rel="stylesheet" href="../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../styles/docfx.css">
  16. <link rel="stylesheet" href="../styles/main.css">
  17. <link rel="stylesheet" href="../styles/fix.css">
  18. <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
  19. <meta property="docfx:navrel" content="../toc.html">
  20. <meta property="docfx:tocrel" content="toc.html">
  21. <meta property="docfx:rel" content="../">
  22. <meta property="docfx:newtab" content="true">
  23. </head> <body data-spy="scroll" data-target="#affix" data-offset="120">
  24. <div id="wrapper">
  25. <header>
  26. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  27. <div class="container">
  28. <div class="navbar-header">
  29. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  30. <span class="sr-only">Toggle navigation</span>
  31. <span class="icon-bar"></span>
  32. <span class="icon-bar"></span>
  33. <span class="icon-bar"></span>
  34. </button>
  35. <a class="navbar-brand" href="../index.html">
  36. <img id="logo" class="svg" src="../logo.svg" alt="">
  37. </a>
  38. </div>
  39. <div class="collapse navbar-collapse" id="navbar">
  40. <form class="navbar-form navbar-right" role="search" id="search">
  41. <div class="form-group">
  42. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  43. </div>
  44. </form>
  45. </div>
  46. </div>
  47. </nav>
  48. <div class="subnav navbar navbar-default">
  49. <div class="container hide-when-search" id="breadcrumb">
  50. <ul class="breadcrumb">
  51. <li></li>
  52. </ul>
  53. </div>
  54. </div>
  55. </header>
  56. <div class="container body-content">
  57. <div id="search-results">
  58. <div class="search-list">Search Results for <span></span></div>
  59. <div class="sr-items">
  60. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  61. </div>
  62. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  63. </div>
  64. </div>
  65. <div role="main" class="container body-content hide-when-search">
  66. <div class="sidenav hide-when-search">
  67. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  68. <div class="sidetoggle collapse" id="sidetoggle">
  69. <div id="sidetoc"></div>
  70. </div>
  71. </div>
  72. <div class="article row grid-right">
  73. <div class="col-md-10">
  74. <article class="content wrap" id="_content" data-uid="IPA.Loader.CannotRuntimeDisableException">
  75. <h1 id="IPA_Loader_CannotRuntimeDisableException" data-uid="IPA.Loader.CannotRuntimeDisableException" class="text-break">Class CannotRuntimeDisableException
  76. </h1>
  77. <div class="markdown level0 summary"><p>Indicates that a plugin cannot be disabled at runtime. Generally not considered an error, however.</p>
  78. </div>
  79. <div class="markdown level0 conceptual"></div>
  80. <div class="inheritance">
  81. <h5>Inheritance</h5>
  82. <div class="level0"><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a></div>
  83. <div class="level1"><span class="xref">CannotRuntimeDisableException</span></div>
  84. </div>
  85. <h6><strong>Namespace</strong>: <a class="xref" href="IPA.Loader.html">IPA.Loader</a></h6>
  86. <h6><strong>Assembly</strong>: IPA.Loader.dll</h6>
  87. <h5 id="IPA_Loader_CannotRuntimeDisableException_syntax">Syntax</h5>
  88. <div class="codewrapper">
  89. <pre><code class="lang-csharp hljs">public class CannotRuntimeDisableException : Exception</code></pre>
  90. </div>
  91. <h3 id="constructors">Constructors
  92. </h3>
  93. <span class="small pull-right mobile-hide">
  94. <span class="divider">|</span>
  95. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_CannotRuntimeDisableException__ctor_IPA_Loader_PluginMetadata_.md&amp;value=---%0Auid%3A%20IPA.Loader.CannotRuntimeDisableException.%23ctor(IPA.Loader.PluginMetadata)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  96. </span>
  97. <span class="small pull-right mobile-hide">
  98. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/c326c0dc0fbb51050db23b7b892a9528f5ef3ef0/IPA.Loader/Loader/CannotRuntimeDisableException.cs/#L23">View Source</a>
  99. </span>
  100. <a id="IPA_Loader_CannotRuntimeDisableException__ctor_" data-uid="IPA.Loader.CannotRuntimeDisableException.#ctor*"></a>
  101. <h4 id="IPA_Loader_CannotRuntimeDisableException__ctor_IPA_Loader_PluginMetadata_" data-uid="IPA.Loader.CannotRuntimeDisableException.#ctor(IPA.Loader.PluginMetadata)">CannotRuntimeDisableException(PluginMetadata)</h4>
  102. <div class="markdown level1 summary"><p>Creates an exception for the given plugin metadata.</p>
  103. </div>
  104. <div class="markdown level1 conceptual"></div>
  105. <h5 class="decalaration">Declaration</h5>
  106. <div class="codewrapper">
  107. <pre><code class="lang-csharp hljs">public CannotRuntimeDisableException(PluginMetadata plugin)</code></pre>
  108. </div>
  109. <h5 class="parameters">Parameters</h5>
  110. <table class="table table-bordered table-striped table-condensed">
  111. <thead>
  112. <tr>
  113. <th>Type</th>
  114. <th>Name</th>
  115. <th>Description</th>
  116. </tr>
  117. </thead>
  118. <tbody>
  119. <tr>
  120. <td><a class="xref" href="IPA.Loader.PluginMetadata.html">PluginMetadata</a></td>
  121. <td><span class="parametername">plugin</span></td>
  122. <td><p>the plugin that cannot be disabled</p>
  123. </td>
  124. </tr>
  125. </tbody>
  126. </table>
  127. <span class="small pull-right mobile-hide">
  128. <span class="divider">|</span>
  129. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_CannotRuntimeDisableException__ctor_IPA_Loader_PluginMetadata_System_String_.md&amp;value=---%0Auid%3A%20IPA.Loader.CannotRuntimeDisableException.%23ctor(IPA.Loader.PluginMetadata%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  130. </span>
  131. <span class="small pull-right mobile-hide">
  132. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/c326c0dc0fbb51050db23b7b892a9528f5ef3ef0/IPA.Loader/Loader/CannotRuntimeDisableException.cs/#L30">View Source</a>
  133. </span>
  134. <a id="IPA_Loader_CannotRuntimeDisableException__ctor_" data-uid="IPA.Loader.CannotRuntimeDisableException.#ctor*"></a>
  135. <h4 id="IPA_Loader_CannotRuntimeDisableException__ctor_IPA_Loader_PluginMetadata_System_String_" data-uid="IPA.Loader.CannotRuntimeDisableException.#ctor(IPA.Loader.PluginMetadata,System.String)">CannotRuntimeDisableException(PluginMetadata, String)</h4>
  136. <div class="markdown level1 summary"><p>Creats an exception with the given plugin metadata and message information.</p>
  137. </div>
  138. <div class="markdown level1 conceptual"></div>
  139. <h5 class="decalaration">Declaration</h5>
  140. <div class="codewrapper">
  141. <pre><code class="lang-csharp hljs">public CannotRuntimeDisableException(PluginMetadata plugin, string message)</code></pre>
  142. </div>
  143. <h5 class="parameters">Parameters</h5>
  144. <table class="table table-bordered table-striped table-condensed">
  145. <thead>
  146. <tr>
  147. <th>Type</th>
  148. <th>Name</th>
  149. <th>Description</th>
  150. </tr>
  151. </thead>
  152. <tbody>
  153. <tr>
  154. <td><a class="xref" href="IPA.Loader.PluginMetadata.html">PluginMetadata</a></td>
  155. <td><span class="parametername">plugin</span></td>
  156. <td><p>the plugin that cannot be disabled</p>
  157. </td>
  158. </tr>
  159. <tr>
  160. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
  161. <td><span class="parametername">message</span></td>
  162. <td><p>the message to associate with it</p>
  163. </td>
  164. </tr>
  165. </tbody>
  166. </table>
  167. <span class="small pull-right mobile-hide">
  168. <span class="divider">|</span>
  169. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_CannotRuntimeDisableException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_.md&amp;value=---%0Auid%3A%20IPA.Loader.CannotRuntimeDisableException.%23ctor(System.Runtime.Serialization.SerializationInfo%2CSystem.Runtime.Serialization.StreamingContext)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  170. </span>
  171. <span class="small pull-right mobile-hide">
  172. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/c326c0dc0fbb51050db23b7b892a9528f5ef3ef0/IPA.Loader/Loader/CannotRuntimeDisableException.cs/#L39">View Source</a>
  173. </span>
  174. <a id="IPA_Loader_CannotRuntimeDisableException__ctor_" data-uid="IPA.Loader.CannotRuntimeDisableException.#ctor*"></a>
  175. <h4 id="IPA_Loader_CannotRuntimeDisableException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="IPA.Loader.CannotRuntimeDisableException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">CannotRuntimeDisableException(Serialization.SerializationInfo, Serialization.StreamingContext)</h4>
  176. <div class="markdown level1 summary"><p>Creates an exception from a serialization context. Not currently implemented.</p>
  177. </div>
  178. <div class="markdown level1 conceptual"></div>
  179. <h5 class="decalaration">Declaration</h5>
  180. <div class="codewrapper">
  181. <pre><code class="lang-csharp hljs">protected CannotRuntimeDisableException(Serialization.SerializationInfo serializationInfo, Serialization.StreamingContext streamingContext)</code></pre>
  182. </div>
  183. <h5 class="parameters">Parameters</h5>
  184. <table class="table table-bordered table-striped table-condensed">
  185. <thead>
  186. <tr>
  187. <th>Type</th>
  188. <th>Name</th>
  189. <th>Description</th>
  190. </tr>
  191. </thead>
  192. <tbody>
  193. <tr>
  194. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.runtime.serialization.serializationinfo">Serialization.SerializationInfo</a></td>
  195. <td><span class="parametername">serializationInfo</span></td>
  196. <td></td>
  197. </tr>
  198. <tr>
  199. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.runtime.serialization.streamingcontext">Serialization.StreamingContext</a></td>
  200. <td><span class="parametername">streamingContext</span></td>
  201. <td></td>
  202. </tr>
  203. </tbody>
  204. </table>
  205. <h3 id="properties">Properties
  206. </h3>
  207. <span class="small pull-right mobile-hide">
  208. <span class="divider">|</span>
  209. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_CannotRuntimeDisableException_Plugin.md&amp;value=---%0Auid%3A%20IPA.Loader.CannotRuntimeDisableException.Plugin%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  210. </span>
  211. <span class="small pull-right mobile-hide">
  212. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/c326c0dc0fbb51050db23b7b892a9528f5ef3ef0/IPA.Loader/Loader/CannotRuntimeDisableException.cs/#L18">View Source</a>
  213. </span>
  214. <a id="IPA_Loader_CannotRuntimeDisableException_Plugin_" data-uid="IPA.Loader.CannotRuntimeDisableException.Plugin*"></a>
  215. <h4 id="IPA_Loader_CannotRuntimeDisableException_Plugin" data-uid="IPA.Loader.CannotRuntimeDisableException.Plugin">Plugin</h4>
  216. <div class="markdown level1 summary"><p>The plugin that cannot be disabled at runtime.</p>
  217. </div>
  218. <div class="markdown level1 conceptual"></div>
  219. <h5 class="decalaration">Declaration</h5>
  220. <div class="codewrapper">
  221. <pre><code class="lang-csharp hljs">public PluginMetadata Plugin { get; }</code></pre>
  222. </div>
  223. <h5 class="propertyValue">Property Value</h5>
  224. <table class="table table-bordered table-striped table-condensed">
  225. <thead>
  226. <tr>
  227. <th>Type</th>
  228. <th>Description</th>
  229. </tr>
  230. </thead>
  231. <tbody>
  232. <tr>
  233. <td><a class="xref" href="IPA.Loader.PluginMetadata.html">PluginMetadata</a></td>
  234. <td></td>
  235. </tr>
  236. </tbody>
  237. </table>
  238. <h3 id="extensionmethods">Extension Methods</h3>
  239. <div>
  240. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_SetField__2___0_System_String___1_">ReflectionUtil.SetField&lt;T, U&gt;(T, String, U)</a>
  241. </div>
  242. <div>
  243. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_GetField__2___1_System_String_">ReflectionUtil.GetField&lt;U, T&gt;(T, String)</a>
  244. </div>
  245. <div>
  246. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_SetProperty__2___0_System_String___1_">ReflectionUtil.SetProperty&lt;T, U&gt;(T, String, U)</a>
  247. </div>
  248. <div>
  249. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_GetProperty__2___1_System_String_">ReflectionUtil.GetProperty&lt;U, T&gt;(T, String)</a>
  250. </div>
  251. <div>
  252. <a class="xref" href="IPA.Utilities.ReflectionUtil.html#IPA_Utilities_ReflectionUtil_InvokeMethod__2___1_System_String_System_Object___">ReflectionUtil.InvokeMethod&lt;U, T&gt;(T, String, Object[])</a>
  253. </div>
  254. </article>
  255. </div>
  256. <div class="hidden-sm col-md-2" role="complementary">
  257. <div class="sideaffix">
  258. <div class="contribution">
  259. <ul class="nav">
  260. <li>
  261. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/new/master/docs/override/new?filename=IPA_Loader_CannotRuntimeDisableException.md&amp;value=---%0Auid%3A%20IPA.Loader.CannotRuntimeDisableException%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
  262. </li>
  263. <li>
  264. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/c326c0dc0fbb51050db23b7b892a9528f5ef3ef0/IPA.Loader/Loader/CannotRuntimeDisableException.cs/#L12" class="contribution-link">View Source</a>
  265. </li>
  266. </ul>
  267. </div>
  268. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  269. <h5>In This Article</h5>
  270. <div></div>
  271. </nav>
  272. </div>
  273. </div>
  274. </div>
  275. </div>
  276. <footer>
  277. <div class="grad-bottom"></div>
  278. <div class="footer">
  279. <div class="container">
  280. <span class="pull-right">
  281. <a href="#top">Back to top</a>
  282. </span>
  283. <span>Generated by <strong>DocFX</strong></span>
  284. </div>
  285. </div>
  286. </footer>
  287. </div>
  288. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  289. <script type="text/javascript" src="../styles/docfx.js"></script>
  290. <script type="text/javascript" src="../styles/main.js"></script>
  291. </body>
  292. </html>