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
public class CannotRuntimeDisableException : Exception
Constructors
| Improve this Doc View SourceCannotRuntimeDisableException(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(PluginMetadata, String)
Creats an exception with the given plugin metadata and message information.
Declaration
public CannotRuntimeDisableException(PluginMetadata plugin, string message)
Parameters
Type | Name | Description |
---|---|---|
PluginMetadata | plugin | the plugin that cannot be disabled |
String | message | the message to associate with it |
CannotRuntimeDisableException(Serialization.SerializationInfo, Serialization.StreamingContext)
Creates an exception from a serialization context. Not currently implemented.
Declaration
protected CannotRuntimeDisableException(Serialization.SerializationInfo serializationInfo, Serialization.StreamingContext streamingContext)
Parameters
Type | Name | Description |
---|---|---|
Serialization.SerializationInfo | serializationInfo | |
Serialization.StreamingContext | streamingContext |
Properties
| Improve this Doc View SourcePlugin
The plugin that cannot be disabled at runtime.
Declaration
public PluginMetadata Plugin { get; }
Property Value
Type | Description |
---|---|
PluginMetadata |