Edit

Share via


InstanceLockException Constructors

Definition

Initializes a new instance of the InstanceLockException class.

Overloads

InstanceLockException()

Initializes a new instance of the InstanceLockException class.

InstanceLockException(Guid)

Initializes a new instance of the InstanceLockException class.

InstanceLockException(String)

Initializes a new instance of the InstanceLockException class.

InstanceLockException(Guid, Exception)

Initializes a new instance of the InstanceLockException class.

InstanceLockException(Guid, String)

Initializes a new instance of the InstanceLockException class.

InstanceLockException(SerializationInfo, StreamingContext)

Initializes a new instance of the InstanceLockException class.

InstanceLockException(String, Exception)

Initializes a new instance of the InstanceLockException class.

InstanceLockException(Guid, String, Exception)

Initializes a new instance of the InstanceLockException class.

InstanceLockException()

Initializes a new instance of the InstanceLockException class.

public:
 InstanceLockException();
public InstanceLockException ();
Public Sub New ()

Applies to

InstanceLockException(Guid)

Initializes a new instance of the InstanceLockException class.

public:
 InstanceLockException(Guid id);
public InstanceLockException (Guid id);
new System.ServiceModel.Persistence.InstanceLockException : Guid -> System.ServiceModel.Persistence.InstanceLockException
Public Sub New (id As Guid)

Parameters

id
Guid

The unique identifier of the exception instance.

Applies to

InstanceLockException(String)

Initializes a new instance of the InstanceLockException class.

public:
 InstanceLockException(System::String ^ message);
public InstanceLockException (string message);
new System.ServiceModel.Persistence.InstanceLockException : string -> System.ServiceModel.Persistence.InstanceLockException
Public Sub New (message As String)

Parameters

message
String

The message that describes the current exception.

Applies to

InstanceLockException(Guid, Exception)

Initializes a new instance of the InstanceLockException class.

public:
 InstanceLockException(Guid id, Exception ^ innerException);
public InstanceLockException (Guid id, Exception innerException);
new System.ServiceModel.Persistence.InstanceLockException : Guid * Exception -> System.ServiceModel.Persistence.InstanceLockException
Public Sub New (id As Guid, innerException As Exception)

Parameters

id
Guid

The unique identifier of the exception instance.

innerException
Exception

The Exception instance that caused the current exception.

Applies to

InstanceLockException(Guid, String)

Initializes a new instance of the InstanceLockException class.

public:
 InstanceLockException(Guid id, System::String ^ message);
public InstanceLockException (Guid id, string message);
new System.ServiceModel.Persistence.InstanceLockException : Guid * string -> System.ServiceModel.Persistence.InstanceLockException
Public Sub New (id As Guid, message As String)

Parameters

id
Guid

The unique identifier of the exception instance.

message
String

The message that describes the current exception.

Applies to

InstanceLockException(SerializationInfo, StreamingContext)

Initializes a new instance of the InstanceLockException class.

protected:
 InstanceLockException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InstanceLockException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ServiceModel.Persistence.InstanceLockException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ServiceModel.Persistence.InstanceLockException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context
StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Applies to

InstanceLockException(String, Exception)

Initializes a new instance of the InstanceLockException class.

public:
 InstanceLockException(System::String ^ message, Exception ^ innerException);
public InstanceLockException (string message, Exception innerException);
new System.ServiceModel.Persistence.InstanceLockException : string * Exception -> System.ServiceModel.Persistence.InstanceLockException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message that describes the current exception.

innerException
Exception

The Exception instance that caused the current exception.

Applies to

InstanceLockException(Guid, String, Exception)

Initializes a new instance of the InstanceLockException class.

public:
 InstanceLockException(Guid id, System::String ^ message, Exception ^ innerException);
public InstanceLockException (Guid id, string message, Exception innerException);
new System.ServiceModel.Persistence.InstanceLockException : Guid * string * Exception -> System.ServiceModel.Persistence.InstanceLockException
Public Sub New (id As Guid, message As String, innerException As Exception)

Parameters

id
Guid

The unique identifier of the exception instance.

message
String

The message that describes the current exception.

innerException
Exception

The Exception instance that caused the current exception.

Applies to