Class CannotRuntimeDisableException +
+Indicates that a plugin cannot be disabled at runtime. Generally not considered an error, however.
+Namespace: IPA.Loader
+Assembly: IPA.Loader.dll
+Syntax
+[Serializable]
+public class CannotRuntimeDisableException : Exception, ISerializable, _Exception
+ Constructors +
+ + | + Improve this Doc + + + View Source + + +CannotRuntimeDisableException(PluginMetadata)
+Creates an exception for the given plugin metadata.
+Declaration
+public CannotRuntimeDisableException(PluginMetadata plugin)
+ Parameters
+Type | +Name | +Description | +
---|---|---|
PluginMetadata | +plugin | +the plugin that cannot be disabled + |
+
CannotRuntimeDisableException(SerializationInfo, StreamingContext)
+Creates an exception from a serialization context. Not currently implemented.
+Declaration
+protected CannotRuntimeDisableException(SerializationInfo serializationInfo, StreamingContext streamingContext)
+ Parameters
+Type | +Name | +Description | +
---|---|---|
SerializationInfo | +serializationInfo | ++ |
StreamingContext | +streamingContext | ++ |
Exceptions
+Type | +Condition | +
---|---|
NotImplementedException | ++ |
Properties +
+ + | + Improve this Doc + + + View Source + + +Plugin
+The plugin that cannot be disabled at runtime.
+Declaration
+public PluginMetadata Plugin { get; }
+ Property Value
+Type | +Description | +
---|---|
PluginMetadata | ++ |