Edit

Share via


InstanceHandleConflictException Constructors

Definition

Initializes an instance of the InstanceHandleConflictException class.

Overloads

InstanceHandleConflictException()

Initializes an instance of the InstanceHandleConflictException class.

InstanceHandleConflictException(String)

Initializes an instance of the InstanceHandleConflictException class using the error message.

InstanceHandleConflictException(SerializationInfo, StreamingContext)

Initializes an instance of the InstanceHandleConflictException class with serialized data.

InstanceHandleConflictException(String, Exception)

Initializes an instance of the InstanceHandleConflictException class using the error message and the inner exception information.

InstanceHandleConflictException(XName, Guid)

Initializes an instance of the InstanceHandleConflictException class using the XName (the combination of namespace and name) of the command and the ID of the target instance against which the command was executed.

InstanceHandleConflictException(XName, Guid, Exception)

Initializes an instance of the InstanceHandleConflictException class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, and the inner exception information passed as parameters.

InstanceHandleConflictException(XName, Guid, String, Exception)

Initializes an instance of the InstanceHandleConflictException class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, the error message that explains the reason for the current exception, and the inner exception information.

InstanceHandleConflictException()

Initializes an instance of the InstanceHandleConflictException class.

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

Applies to

InstanceHandleConflictException(String)

Initializes an instance of the InstanceHandleConflictException class using the error message.

public:
 InstanceHandleConflictException(System::String ^ message);
public InstanceHandleConflictException (string message);
new System.Runtime.DurableInstancing.InstanceHandleConflictException : string -> System.Runtime.DurableInstancing.InstanceHandleConflictException
Public Sub New (message As String)

Parameters

message
String

The reason for the exception.

Applies to

InstanceHandleConflictException(SerializationInfo, StreamingContext)

Initializes an instance of the InstanceHandleConflictException class with serialized data.

protected:
 InstanceHandleConflictException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Security.SecurityCritical]
protected InstanceHandleConflictException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Security.SecurityCritical>]
new System.Runtime.DurableInstancing.InstanceHandleConflictException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Runtime.DurableInstancing.InstanceHandleConflictException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The information about the current exception.

context
StreamingContext

The contextual information about the source or destination.

Attributes

Applies to

InstanceHandleConflictException(String, Exception)

Initializes an instance of the InstanceHandleConflictException class using the error message and the inner exception information.

public:
 InstanceHandleConflictException(System::String ^ message, Exception ^ innerException);
public InstanceHandleConflictException (string message, Exception innerException);
new System.Runtime.DurableInstancing.InstanceHandleConflictException : string * Exception -> System.Runtime.DurableInstancing.InstanceHandleConflictException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The reason for the exception.

innerException
Exception

The exception that caused the current exception.

Applies to

InstanceHandleConflictException(XName, Guid)

Initializes an instance of the InstanceHandleConflictException class using the XName (the combination of namespace and name) of the command and the ID of the target instance against which the command was executed.

public:
 InstanceHandleConflictException(System::Xml::Linq::XName ^ commandName, Guid instanceId);
public InstanceHandleConflictException (System.Xml.Linq.XName commandName, Guid instanceId);
new System.Runtime.DurableInstancing.InstanceHandleConflictException : System.Xml.Linq.XName * Guid -> System.Runtime.DurableInstancing.InstanceHandleConflictException
Public Sub New (commandName As XName, instanceId As Guid)

Parameters

commandName
XName

The XName (the combination of namespace and name) of the command.

instanceId
Guid

The ID of the target instance against which the command was executed.

Applies to

InstanceHandleConflictException(XName, Guid, Exception)

Initializes an instance of the InstanceHandleConflictException class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, and the inner exception information passed as parameters.

public:
 InstanceHandleConflictException(System::Xml::Linq::XName ^ commandName, Guid instanceId, Exception ^ innerException);
public InstanceHandleConflictException (System.Xml.Linq.XName commandName, Guid instanceId, Exception innerException);
new System.Runtime.DurableInstancing.InstanceHandleConflictException : System.Xml.Linq.XName * Guid * Exception -> System.Runtime.DurableInstancing.InstanceHandleConflictException
Public Sub New (commandName As XName, instanceId As Guid, innerException As Exception)

Parameters

commandName
XName

The XName (the combination of namespace and name) of the command.

instanceId
Guid

The ID of the target instance against which the command was executed.

innerException
Exception

The exception that caused the current exception.

Applies to

InstanceHandleConflictException(XName, Guid, String, Exception)

Initializes an instance of the InstanceHandleConflictException class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, the error message that explains the reason for the current exception, and the inner exception information.

public:
 InstanceHandleConflictException(System::Xml::Linq::XName ^ commandName, Guid instanceId, System::String ^ message, Exception ^ innerException);
public InstanceHandleConflictException (System.Xml.Linq.XName commandName, Guid instanceId, string message, Exception innerException);
new System.Runtime.DurableInstancing.InstanceHandleConflictException : System.Xml.Linq.XName * Guid * string * Exception -> System.Runtime.DurableInstancing.InstanceHandleConflictException
Public Sub New (commandName As XName, instanceId As Guid, message As String, innerException As Exception)

Parameters

commandName
XName

The XName (the combination of namespace and name) of the command.

instanceId
Guid

The ID of the target instance against which the command was executed.

message
String

The reason for the exception.

innerException
Exception

The exception that caused the current exception.

Applies to