Unosquare
    Show / Hide Table of Contents

    Class LockedException

    The exception that is thrown when a LockToken has been locked.

    Inheritance
    Object
    LockedException
    Namespace: EmbedIO.Utilities
    Syntax
    public class LockedException : InvalidOperationException

    Constructors

    LockedException()

    Initializes a new instance of the LockedException class.

    Declaration
    public LockedException()

    LockedException(LockToken)

    Initializes a new instance of the LockedException class.

    Declaration
    public LockedException(LockToken token)
    Parameters
    Type Name Description
    LockToken token

    A LockToken associated with the exception.

    LockedException(SerializationInfo, StreamingContext)

    Initializes a new instance of the LockedException class.

    Declaration
    protected LockedException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info

    The object that holds the serialized object data.

    StreamingContext context

    The contextual information about the source or destination.

    LockedException(String)

    Initializes a new instance of the LockedException class.

    Declaration
    public LockedException(string message)
    Parameters
    Type Name Description
    String message

    The message that describes the error.

    LockedException(String, LockToken)

    Initializes a new instance of the LockedException class.

    Declaration
    public LockedException(string message, LockToken token)
    Parameters
    Type Name Description
    String message

    The message that describes the error.

    LockToken token

    A LockToken associated with the exception.

    LockedException(String, Nullable<Exception>)

    Initializes a new instance of the LockedException class.

    Declaration
    public LockedException(string message, Exception? innerException)
    Parameters
    Type Name Description
    String message

    The error message that explains the reason for the exception.

    Nullable<Exception> innerException

    The exception that is the cause of the current exception. If this parameter is not null, the current exception is raised in a catch block that handles the inner exception.

    LockedException(String, Nullable<Exception>, LockToken)

    Initializes a new instance of the LockedException class.

    Declaration
    public LockedException(string message, Exception? innerException, LockToken token)
    Parameters
    Type Name Description
    String message

    The error message that explains the reason for the exception.

    Nullable<Exception> innerException

    The exception that is the cause of the current exception. If this parameter is not null, the current exception is raised in a catch block that handles the inner exception.

    LockToken token

    A LockToken associated with the exception.

    Properties

    Token

    Gets a LockToken associated with the locked configuration.

    Declaration
    public LockToken Token { get; }
    Property Value
    Type Description
    LockToken

    Comments

    Back to top Copyright © 2017-2019 Unosquare