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.

392 lines
20 KiB

10 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
  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.4.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://learn.microsoft.com/dotnet/api/system.object">Object</a></div>
  83. <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a></div>
  84. <div class="level2"><span class="xref">CannotRuntimeDisableException</span></div>
  85. </div>
  86. <div class="implements">
  87. <h5>Implements</h5>
  88. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
  89. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.interopservices._exception">_Exception</a></div>
  90. </div>
  91. <div class="inheritedMembers">
  92. <h5>Inherited Members</h5>
  93. <div>
  94. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.getbaseexception#system-exception-getbaseexception">Exception.GetBaseException()</a>
  95. </div>
  96. <div>
  97. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.tostring#system-exception-tostring">Exception.ToString()</a>
  98. </div>
  99. <div>
  100. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.getobjectdata#system-exception-getobjectdata(system-runtime-serialization-serializationinfo-system-runtime-serialization-streamingcontext)">Exception.GetObjectData(SerializationInfo, StreamingContext)</a>
  101. </div>
  102. <div>
  103. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.gettype#system-exception-gettype">Exception.GetType()</a>
  104. </div>
  105. <div>
  106. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.message#system-exception-message">Exception.Message</a>
  107. </div>
  108. <div>
  109. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.data#system-exception-data">Exception.Data</a>
  110. </div>
  111. <div>
  112. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.innerexception#system-exception-innerexception">Exception.InnerException</a>
  113. </div>
  114. <div>
  115. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.targetsite#system-exception-targetsite">Exception.TargetSite</a>
  116. </div>
  117. <div>
  118. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.stacktrace#system-exception-stacktrace">Exception.StackTrace</a>
  119. </div>
  120. <div>
  121. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.helplink#system-exception-helplink">Exception.HelpLink</a>
  122. </div>
  123. <div>
  124. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.source#system-exception-source">Exception.Source</a>
  125. </div>
  126. <div>
  127. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.hresult#system-exception-hresult">Exception.HResult</a>
  128. </div>
  129. <div>
  130. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception.serializeobjectstate#system-exception-serializeobjectstate">Exception.SerializeObjectState</a>
  131. </div>
  132. <div>
  133. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">Object.Equals(Object)</a>
  134. </div>
  135. <div>
  136. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">Object.Equals(Object, Object)</a>
  137. </div>
  138. <div>
  139. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals#system-object-referenceequals(system-object-system-object)">Object.ReferenceEquals(Object, Object)</a>
  140. </div>
  141. <div>
  142. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode">Object.GetHashCode()</a>
  143. </div>
  144. <div>
  145. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone#system-object-memberwiseclone">Object.MemberwiseClone()</a>
  146. </div>
  147. </div>
  148. <h6><strong>Namespace</strong>: <a class="xref" href="IPA.Loader.html">IPA.Loader</a></h6>
  149. <h6><strong>Assembly</strong>: IPA.Loader.dll</h6>
  150. <h5 id="IPA_Loader_CannotRuntimeDisableException_syntax">Syntax</h5>
  151. <div class="codewrapper">
  152. <pre><code class="lang-csharp hljs">[Serializable]
  153. public class CannotRuntimeDisableException : Exception, ISerializable, _Exception</code></pre>
  154. </div>
  155. <h3 id="constructors">Constructors
  156. </h3>
  157. <span class="small pull-right mobile-hide">
  158. <span class="divider">|</span>
  159. <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>
  160. </span>
  161. <span class="small pull-right mobile-hide">
  162. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/80222a6da147bae9b95433ef78d03c5dd581e465/IPA.Loader/Loader/CannotRuntimeDisableException.cs/#L23">View Source</a>
  163. </span>
  164. <a id="IPA_Loader_CannotRuntimeDisableException__ctor_" data-uid="IPA.Loader.CannotRuntimeDisableException.#ctor*"></a>
  165. <h4 id="IPA_Loader_CannotRuntimeDisableException__ctor_IPA_Loader_PluginMetadata_" data-uid="IPA.Loader.CannotRuntimeDisableException.#ctor(IPA.Loader.PluginMetadata)">CannotRuntimeDisableException(PluginMetadata)</h4>
  166. <div class="markdown level1 summary"><p>Creates an exception for the given plugin metadata.</p>
  167. </div>
  168. <div class="markdown level1 conceptual"></div>
  169. <h5 class="decalaration">Declaration</h5>
  170. <div class="codewrapper">
  171. <pre><code class="lang-csharp hljs">public CannotRuntimeDisableException(PluginMetadata plugin)</code></pre>
  172. </div>
  173. <h5 class="parameters">Parameters</h5>
  174. <table class="table table-bordered table-striped table-condensed">
  175. <thead>
  176. <tr>
  177. <th>Type</th>
  178. <th>Name</th>
  179. <th>Description</th>
  180. </tr>
  181. </thead>
  182. <tbody>
  183. <tr>
  184. <td><a class="xref" href="IPA.Loader.PluginMetadata.html">PluginMetadata</a></td>
  185. <td><span class="parametername">plugin</span></td>
  186. <td><p>the plugin that cannot be disabled</p>
  187. </td>
  188. </tr>
  189. </tbody>
  190. </table>
  191. <span class="small pull-right mobile-hide">
  192. <span class="divider">|</span>
  193. <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>
  194. </span>
  195. <span class="small pull-right mobile-hide">
  196. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/80222a6da147bae9b95433ef78d03c5dd581e465/IPA.Loader/Loader/CannotRuntimeDisableException.cs/#L30">View Source</a>
  197. </span>
  198. <a id="IPA_Loader_CannotRuntimeDisableException__ctor_" data-uid="IPA.Loader.CannotRuntimeDisableException.#ctor*"></a>
  199. <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>
  200. <div class="markdown level1 summary"><p>Creats an exception with the given plugin metadata and message information.</p>
  201. </div>
  202. <div class="markdown level1 conceptual"></div>
  203. <h5 class="decalaration">Declaration</h5>
  204. <div class="codewrapper">
  205. <pre><code class="lang-csharp hljs">public CannotRuntimeDisableException(PluginMetadata plugin, string message)</code></pre>
  206. </div>
  207. <h5 class="parameters">Parameters</h5>
  208. <table class="table table-bordered table-striped table-condensed">
  209. <thead>
  210. <tr>
  211. <th>Type</th>
  212. <th>Name</th>
  213. <th>Description</th>
  214. </tr>
  215. </thead>
  216. <tbody>
  217. <tr>
  218. <td><a class="xref" href="IPA.Loader.PluginMetadata.html">PluginMetadata</a></td>
  219. <td><span class="parametername">plugin</span></td>
  220. <td><p>the plugin that cannot be disabled</p>
  221. </td>
  222. </tr>
  223. <tr>
  224. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
  225. <td><span class="parametername">message</span></td>
  226. <td><p>the message to associate with it</p>
  227. </td>
  228. </tr>
  229. </tbody>
  230. </table>
  231. <span class="small pull-right mobile-hide">
  232. <span class="divider">|</span>
  233. <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>
  234. </span>
  235. <span class="small pull-right mobile-hide">
  236. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/80222a6da147bae9b95433ef78d03c5dd581e465/IPA.Loader/Loader/CannotRuntimeDisableException.cs/#L39">View Source</a>
  237. </span>
  238. <a id="IPA_Loader_CannotRuntimeDisableException__ctor_" data-uid="IPA.Loader.CannotRuntimeDisableException.#ctor*"></a>
  239. <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(SerializationInfo, StreamingContext)</h4>
  240. <div class="markdown level1 summary"><p>Creates an exception from a serialization context. Not currently implemented.</p>
  241. </div>
  242. <div class="markdown level1 conceptual"></div>
  243. <h5 class="decalaration">Declaration</h5>
  244. <div class="codewrapper">
  245. <pre><code class="lang-csharp hljs">protected CannotRuntimeDisableException(SerializationInfo serializationInfo, StreamingContext streamingContext)</code></pre>
  246. </div>
  247. <h5 class="parameters">Parameters</h5>
  248. <table class="table table-bordered table-striped table-condensed">
  249. <thead>
  250. <tr>
  251. <th>Type</th>
  252. <th>Name</th>
  253. <th>Description</th>
  254. </tr>
  255. </thead>
  256. <tbody>
  257. <tr>
  258. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.serializationinfo">SerializationInfo</a></td>
  259. <td><span class="parametername">serializationInfo</span></td>
  260. <td></td>
  261. </tr>
  262. <tr>
  263. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.streamingcontext">StreamingContext</a></td>
  264. <td><span class="parametername">streamingContext</span></td>
  265. <td></td>
  266. </tr>
  267. </tbody>
  268. </table>
  269. <h5 class="exceptions">Exceptions</h5>
  270. <table class="table table-bordered table-striped table-condensed">
  271. <thead>
  272. <tr>
  273. <th>Type</th>
  274. <th>Condition</th>
  275. </tr>
  276. </thead>
  277. <tbody>
  278. <tr>
  279. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></td>
  280. <td></td>
  281. </tr>
  282. </tbody>
  283. </table>
  284. <h3 id="properties">Properties
  285. </h3>
  286. <span class="small pull-right mobile-hide">
  287. <span class="divider">|</span>
  288. <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>
  289. </span>
  290. <span class="small pull-right mobile-hide">
  291. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/80222a6da147bae9b95433ef78d03c5dd581e465/IPA.Loader/Loader/CannotRuntimeDisableException.cs/#L18">View Source</a>
  292. </span>
  293. <a id="IPA_Loader_CannotRuntimeDisableException_Plugin_" data-uid="IPA.Loader.CannotRuntimeDisableException.Plugin*"></a>
  294. <h4 id="IPA_Loader_CannotRuntimeDisableException_Plugin" data-uid="IPA.Loader.CannotRuntimeDisableException.Plugin">Plugin</h4>
  295. <div class="markdown level1 summary"><p>The plugin that cannot be disabled at runtime.</p>
  296. </div>
  297. <div class="markdown level1 conceptual"></div>
  298. <h5 class="decalaration">Declaration</h5>
  299. <div class="codewrapper">
  300. <pre><code class="lang-csharp hljs">public PluginMetadata Plugin { get; }</code></pre>
  301. </div>
  302. <h5 class="propertyValue">Property Value</h5>
  303. <table class="table table-bordered table-striped table-condensed">
  304. <thead>
  305. <tr>
  306. <th>Type</th>
  307. <th>Description</th>
  308. </tr>
  309. </thead>
  310. <tbody>
  311. <tr>
  312. <td><a class="xref" href="IPA.Loader.PluginMetadata.html">PluginMetadata</a></td>
  313. <td></td>
  314. </tr>
  315. </tbody>
  316. </table>
  317. <h3 id="implements">Implements</h3>
  318. <div>
  319. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">System.Runtime.Serialization.ISerializable</a>
  320. </div>
  321. <div>
  322. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.interopservices._exception">System.Runtime.InteropServices._Exception</a>
  323. </div>
  324. <h3 id="extensionmethods">Extension Methods</h3>
  325. <div>
  326. <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>
  327. </div>
  328. <div>
  329. <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>
  330. </div>
  331. <div>
  332. <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>
  333. </div>
  334. <div>
  335. <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>
  336. </div>
  337. <div>
  338. <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>
  339. </div>
  340. </article>
  341. </div>
  342. <div class="hidden-sm col-md-2" role="complementary">
  343. <div class="sideaffix">
  344. <div class="contribution">
  345. <ul class="nav">
  346. <li>
  347. <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>
  348. </li>
  349. <li>
  350. <a href="https://github.com/nike4613/BeatSaber-IPA-Reloaded/blob/80222a6da147bae9b95433ef78d03c5dd581e465/IPA.Loader/Loader/CannotRuntimeDisableException.cs/#L12" class="contribution-link">View Source</a>
  351. </li>
  352. </ul>
  353. </div>
  354. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  355. <h5>In This Article</h5>
  356. <div></div>
  357. </nav>
  358. </div>
  359. </div>
  360. </div>
  361. </div>
  362. <footer>
  363. <div class="grad-bottom"></div>
  364. <div class="footer">
  365. <div class="container">
  366. <span class="pull-right">
  367. <a href="#top">Back to top</a>
  368. </span>
  369. <span>Generated by <strong>DocFX</strong></span>
  370. </div>
  371. </div>
  372. </footer>
  373. </div>
  374. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  375. <script type="text/javascript" src="../styles/docfx.js"></script>
  376. <script type="text/javascript" src="../styles/main.js"></script>
  377. </body>
  378. </html>