Search Results for

    Show / Hide Table of Contents

    Class CannotRuntimeDisableException

    Indicates that a plugin cannot be disabled at runtime. Generally not considered an error, however.

    Inheritance
    System.Object
    System.Exception
    CannotRuntimeDisableException
    Implements
    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception
    Inherited Members
    System.Exception.GetBaseException()
    System.Exception.ToString()
    System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    System.Exception.GetType()
    System.Exception.Message
    System.Exception.Data
    System.Exception.InnerException
    System.Exception.TargetSite
    System.Exception.StackTrace
    System.Exception.HelpLink
    System.Exception.Source
    System.Exception.HResult
    System.Exception.SerializeObjectState
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.MemberwiseClone()
    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

    | Improve this Doc View Source

    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

    System.String message

    the message to associate with it

    | Improve this Doc View Source

    CannotRuntimeDisableException(SerializationInfo, StreamingContext)

    Creates an exception from a serialization context. Not currently implemented.

    Declaration
    protected CannotRuntimeDisableException(SerializationInfo serializationInfo, StreamingContext streamingContext)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo serializationInfo
    System.Runtime.Serialization.StreamingContext streamingContext
    Exceptions
    Type Condition
    System.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

    Implements

    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception

    Extension Methods

    ReflectionUtil.SetField<T, U>(T, String, U)
    ReflectionUtil.GetField<U, T>(T, String)
    ReflectionUtil.SetProperty<T, U>(T, String, U)
    ReflectionUtil.GetProperty<U, T>(T, String)
    ReflectionUtil.InvokeMethod<U, T>(T, String, Object[])
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX