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.

351 lines
18 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.48.0.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"></div>
  59. <div class="sr-items">
  60. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  61. </div>
  62. <ul id="pagination"></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"><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.exception">Exception</a></div>
  84. <div class="level2"><span class="xref">CannotRuntimeDisableException</span></div>
  85. </div>
  86. <div classs="implements">
  87. <h5>Implements</h5>
  88. <div><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
  89. <div><a class="xref" href="https://docs.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://docs.microsoft.com/dotnet/api/system.exception.getbaseexception#System_Exception_GetBaseException">Exception.GetBaseException()</a>
  95. </div>
  96. <div>
  97. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.exception.tostring#System_Exception_ToString">Exception.ToString()</a>
  98. </div>
  99. <div>
  100. <a class="xref" href="https://docs.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://docs.microsoft.com/dotnet/api/system.exception.gettype#System_Exception_GetType">Exception.GetType()</a>
  104. </div>
  105. <div>
  106. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.exception.message#System_Exception_Message">Exception.Message</a>
  107. </div>
  108. <div>
  109. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.exception.data#System_Exception_Data">Exception.Data</a>
  110. </div>
  111. <div>
  112. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.exception.innerexception#System_Exception_InnerException">Exception.InnerException</a>
  113. </div>
  114. <div>
  115. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.exception.targetsite#System_Exception_TargetSite">Exception.TargetSite</a>
  116. </div>
  117. <div>
  118. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.exception.stacktrace#System_Exception_StackTrace">Exception.StackTrace</a>
  119. </div>
  120. <div>
  121. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.exception.helplink#System_Exception_HelpLink">Exception.HelpLink</a>
  122. </div>
  123. <div>
  124. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.exception.source#System_Exception_Source">Exception.Source</a>
  125. </div>
  126. <div>
  127. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.exception.hresult#System_Exception_HResult">Exception.HResult</a>
  128. </div>
  129. <div>
  130. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.exception.serializeobjectstate">Exception.SerializeObjectState</a>
  131. </div>
  132. <div>
  133. <a class="xref" href="https://docs.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://docs.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://docs.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://docs.microsoft.com/dotnet/api/system.object.gethashcode#System_Object_GetHashCode">Object.GetHashCode()</a>
  143. </div>
  144. <div>
  145. <a class="xref" href="https://docs.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/beat-saber-modding-group/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/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/d56ccaa1211e9fb16a4556861cc29e9063131aee/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/beat-saber-modding-group/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>
  194. </span>
  195. <span class="small pull-right mobile-hide">
  196. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/d56ccaa1211e9fb16a4556861cc29e9063131aee/IPA.Loader/Loader/CannotRuntimeDisableException.cs/#L32">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_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>
  200. <div class="markdown level1 summary"><p>Creates an exception from a serialization context. Not currently implemented.</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">protected CannotRuntimeDisableException(SerializationInfo serializationInfo, StreamingContext streamingContext)</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="https://docs.microsoft.com/dotnet/api/system.runtime.serialization.serializationinfo">SerializationInfo</a></td>
  219. <td><span class="parametername">serializationInfo</span></td>
  220. <td></td>
  221. </tr>
  222. <tr>
  223. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.runtime.serialization.streamingcontext">StreamingContext</a></td>
  224. <td><span class="parametername">streamingContext</span></td>
  225. <td></td>
  226. </tr>
  227. </tbody>
  228. </table>
  229. <h5 class="exceptions">Exceptions</h5>
  230. <table class="table table-bordered table-striped table-condensed">
  231. <thead>
  232. <tr>
  233. <th>Type</th>
  234. <th>Condition</th>
  235. </tr>
  236. </thead>
  237. <tbody>
  238. <tr>
  239. <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.notimplementedexception">NotImplementedException</a></td>
  240. <td></td>
  241. </tr>
  242. </tbody>
  243. </table>
  244. <h3 id="properties">Properties
  245. </h3>
  246. <span class="small pull-right mobile-hide">
  247. <span class="divider">|</span>
  248. <a href="https://github.com/beat-saber-modding-group/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>
  249. </span>
  250. <span class="small pull-right mobile-hide">
  251. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/d56ccaa1211e9fb16a4556861cc29e9063131aee/IPA.Loader/Loader/CannotRuntimeDisableException.cs/#L18">View Source</a>
  252. </span>
  253. <a id="IPA_Loader_CannotRuntimeDisableException_Plugin_" data-uid="IPA.Loader.CannotRuntimeDisableException.Plugin*"></a>
  254. <h4 id="IPA_Loader_CannotRuntimeDisableException_Plugin" data-uid="IPA.Loader.CannotRuntimeDisableException.Plugin">Plugin</h4>
  255. <div class="markdown level1 summary"><p>The plugin that cannot be disabled at runtime.</p>
  256. </div>
  257. <div class="markdown level1 conceptual"></div>
  258. <h5 class="decalaration">Declaration</h5>
  259. <div class="codewrapper">
  260. <pre><code class="lang-csharp hljs">public PluginMetadata Plugin { get; }</code></pre>
  261. </div>
  262. <h5 class="propertyValue">Property Value</h5>
  263. <table class="table table-bordered table-striped table-condensed">
  264. <thead>
  265. <tr>
  266. <th>Type</th>
  267. <th>Description</th>
  268. </tr>
  269. </thead>
  270. <tbody>
  271. <tr>
  272. <td><a class="xref" href="IPA.Loader.PluginMetadata.html">PluginMetadata</a></td>
  273. <td></td>
  274. </tr>
  275. </tbody>
  276. </table>
  277. <h3 id="implements">Implements</h3>
  278. <div>
  279. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">System.Runtime.Serialization.ISerializable</a>
  280. </div>
  281. <div>
  282. <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.runtime.interopservices._exception">System.Runtime.InteropServices._Exception</a>
  283. </div>
  284. <h3 id="extensionmethods">Extension Methods</h3>
  285. <div>
  286. <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>
  287. </div>
  288. <div>
  289. <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>
  290. </div>
  291. <div>
  292. <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>
  293. </div>
  294. <div>
  295. <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>
  296. </div>
  297. <div>
  298. <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>
  299. </div>
  300. </article>
  301. </div>
  302. <div class="hidden-sm col-md-2" role="complementary">
  303. <div class="sideaffix">
  304. <div class="contribution">
  305. <ul class="nav">
  306. <li>
  307. <a href="https://github.com/beat-saber-modding-group/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>
  308. </li>
  309. <li>
  310. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/d56ccaa1211e9fb16a4556861cc29e9063131aee/IPA.Loader/Loader/CannotRuntimeDisableException.cs/#L12" class="contribution-link">View Source</a>
  311. </li>
  312. </ul>
  313. </div>
  314. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  315. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  316. </nav>
  317. </div>
  318. </div>
  319. </div>
  320. </div>
  321. <footer>
  322. <div class="grad-bottom"></div>
  323. <div class="footer">
  324. <div class="container">
  325. <span class="pull-right">
  326. <a href="#top">Back to top</a>
  327. </span>
  328. <span>Generated by <strong>DocFX</strong></span>
  329. </div>
  330. </div>
  331. </footer>
  332. </div>
  333. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  334. <script type="text/javascript" src="../styles/docfx.js"></script>
  335. <script type="text/javascript" src="../styles/main.js"></script>
  336. </body>
  337. </html>