Edit

Share via


InstanceCollisionException Constructors

Definition

Initializes an instance of the InstanceCollisionException class.

Overloads

InstanceCollisionException()

Initializes an instance of the InstanceCollisionException class.

InstanceCollisionException(String)

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

InstanceCollisionException(SerializationInfo, StreamingContext)

Initializes a new instance of the InstanceCollisionException class with serialized data.

InstanceCollisionException(String, Exception)

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

InstanceCollisionException(XName, Guid)

Initializes an instance of the InstanceCollisionException 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 passed as parameters.

InstanceCollisionException(XName, Guid, Exception)

Initializes an instance of the InstanceCollisionException 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.

InstanceCollisionException(XName, Guid, String, Exception)

Initializes an instance of the InstanceCollisionException 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 passed as parameters.

InstanceCollisionException()

Initializes an instance of the InstanceCollisionException class.

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

Applies to

InstanceCollisionException(String)

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

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

Parameters

message
String

The reason for the exception.

Applies to

InstanceCollisionException(SerializationInfo, StreamingContext)

Initializes a new instance of the InstanceCollisionException class with serialized data.

protected:
 InstanceCollisionException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Security.SecurityCritical]
protected InstanceCollisionException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Security.SecurityCritical>]
new System.Runtime.DurableInstancing.InstanceCollisionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Runtime.DurableInstancing.InstanceCollisionException
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

InstanceCollisionException(String, Exception)

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

public:
 InstanceCollisionException(System::String ^ message, Exception ^ innerException);
public InstanceCollisionException (string message, Exception innerException);
new System.Runtime.DurableInstancing.InstanceCollisionException : string * Exception -> System.Runtime.DurableInstancing.InstanceCollisionException
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.

Remarks

An exception that is thrown as a result of a previous exception typically includes a reference to the previous exception in the InnerException property.

Applies to

InstanceCollisionException(XName, Guid)

Initializes an instance of the InstanceCollisionException 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 passed as parameters.

public:
 InstanceCollisionException(System::Xml::Linq::XName ^ commandName, Guid instanceId);
public InstanceCollisionException (System.Xml.Linq.XName commandName, Guid instanceId);
new System.Runtime.DurableInstancing.InstanceCollisionException : System.Xml.Linq.XName * Guid -> System.Runtime.DurableInstancing.InstanceCollisionException
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

InstanceCollisionException(XName, Guid, Exception)

Initializes an instance of the InstanceCollisionException 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.

public:
 InstanceCollisionException(System::Xml::Linq::XName ^ commandName, Guid instanceId, Exception ^ innerException);
public InstanceCollisionException (System.Xml.Linq.XName commandName, Guid instanceId, Exception innerException);
new System.Runtime.DurableInstancing.InstanceCollisionException : System.Xml.Linq.XName * Guid * Exception -> System.Runtime.DurableInstancing.InstanceCollisionException
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

InstanceCollisionException(XName, Guid, String, Exception)

Initializes an instance of the InstanceCollisionException 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 passed as parameters.

public:
 InstanceCollisionException(System::Xml::Linq::XName ^ commandName, Guid instanceId, System::String ^ message, Exception ^ innerException);
public InstanceCollisionException (System.Xml.Linq.XName commandName, Guid instanceId, string message, Exception innerException);
new System.Runtime.DurableInstancing.InstanceCollisionException : System.Xml.Linq.XName * Guid * string * Exception -> System.Runtime.DurableInstancing.InstanceCollisionException
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