InstanceKeyCollisionException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes an instance of the InstanceKeyCollisionException class.
Overloads
InstanceKeyCollisionException() |
Initializes an instance of the InstanceKeyCollisionException class. |
InstanceKeyCollisionException(String) |
Initializes an instance of the InstanceKeyCollisionException class with the error message passed as a parameter. |
InstanceKeyCollisionException(SerializationInfo, StreamingContext) |
Initializes an instance of the InstanceKeyCollisionException class with serialized data. |
InstanceKeyCollisionException(String, Exception) |
Initializes an instance of the InstanceKeyCollisionException class with the error message and the inner exception information passed as parameters. |
InstanceKeyCollisionException(XName, Guid, InstanceKey, Guid) |
Initializes an instance of the InstanceKeyCollisionException class with the name of the command, ID of the instance against which the command was executed, instance key information, and the instance ID that is currently associated with the instance key passed as parameters. |
InstanceKeyCollisionException(XName, Guid, InstanceKey, Guid, Exception) |
Initializes an instance of the InstanceKeyCollisionException class with the name of the command, ID of the instance against which the command was executed, instance key information, the instance ID that is currently associated with the instance key, and inner exception information passed as parameters. |
InstanceKeyCollisionException(XName, Guid, InstanceKey, Guid, String, Exception) |
Initializes an instance of the InstanceKeyCollisionException class with the name of the command, ID of the instance against which the command was executed, instance key information, the instance ID that is currently associated with the instance key, the error message that describes the exception, and inner exception information passed as parameters. |
InstanceKeyCollisionException()
Initializes an instance of the InstanceKeyCollisionException class.
public:
InstanceKeyCollisionException();
public InstanceKeyCollisionException ();
Public Sub New ()
Applies to
InstanceKeyCollisionException(String)
Initializes an instance of the InstanceKeyCollisionException class with the error message passed as a parameter.
public:
InstanceKeyCollisionException(System::String ^ message);
public InstanceKeyCollisionException (string message);
new System.Runtime.DurableInstancing.InstanceKeyCollisionException : string -> System.Runtime.DurableInstancing.InstanceKeyCollisionException
Public Sub New (message As String)
Parameters
- message
- String
The reason for the exception.
Applies to
InstanceKeyCollisionException(SerializationInfo, StreamingContext)
Initializes an instance of the InstanceKeyCollisionException class with serialized data.
protected:
InstanceKeyCollisionException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Security.SecurityCritical]
protected InstanceKeyCollisionException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Security.SecurityCritical>]
new System.Runtime.DurableInstancing.InstanceKeyCollisionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Runtime.DurableInstancing.InstanceKeyCollisionException
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
InstanceKeyCollisionException(String, Exception)
Initializes an instance of the InstanceKeyCollisionException class with the error message and the inner exception information passed as parameters.
public:
InstanceKeyCollisionException(System::String ^ message, Exception ^ innerException);
public InstanceKeyCollisionException (string message, Exception innerException);
new System.Runtime.DurableInstancing.InstanceKeyCollisionException : string * Exception -> System.Runtime.DurableInstancing.InstanceKeyCollisionException
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
InstanceKeyCollisionException(XName, Guid, InstanceKey, Guid)
Initializes an instance of the InstanceKeyCollisionException class with the name of the command, ID of the instance against which the command was executed, instance key information, and the instance ID that is currently associated with the instance key passed as parameters.
public:
InstanceKeyCollisionException(System::Xml::Linq::XName ^ commandName, Guid instanceId, System::Runtime::DurableInstancing::InstanceKey ^ instanceKey, Guid conflictingInstanceId);
public InstanceKeyCollisionException (System.Xml.Linq.XName commandName, Guid instanceId, System.Runtime.DurableInstancing.InstanceKey instanceKey, Guid conflictingInstanceId);
new System.Runtime.DurableInstancing.InstanceKeyCollisionException : System.Xml.Linq.XName * Guid * System.Runtime.DurableInstancing.InstanceKey * Guid -> System.Runtime.DurableInstancing.InstanceKeyCollisionException
Public Sub New (commandName As XName, instanceId As Guid, instanceKey As InstanceKey, conflictingInstanceId As Guid)
Parameters
- commandName
- XName
The XName (the combination of namespace and name) of the command.
- instanceId
- Guid
The ID of the instance against which the command was executed. The command failed because the instance key is already associated with another instance whose ID is represented by the conflictingInstanceId
parameter.
- instanceKey
- InstanceKey
The instance key information.
- conflictingInstanceId
- Guid
The ID of the instance that is currently associated with the instance key.
Applies to
InstanceKeyCollisionException(XName, Guid, InstanceKey, Guid, Exception)
Initializes an instance of the InstanceKeyCollisionException class with the name of the command, ID of the instance against which the command was executed, instance key information, the instance ID that is currently associated with the instance key, and inner exception information passed as parameters.
public:
InstanceKeyCollisionException(System::Xml::Linq::XName ^ commandName, Guid instanceId, System::Runtime::DurableInstancing::InstanceKey ^ instanceKey, Guid conflictingInstanceId, Exception ^ innerException);
public InstanceKeyCollisionException (System.Xml.Linq.XName commandName, Guid instanceId, System.Runtime.DurableInstancing.InstanceKey instanceKey, Guid conflictingInstanceId, Exception innerException);
new System.Runtime.DurableInstancing.InstanceKeyCollisionException : System.Xml.Linq.XName * Guid * System.Runtime.DurableInstancing.InstanceKey * Guid * Exception -> System.Runtime.DurableInstancing.InstanceKeyCollisionException
Public Sub New (commandName As XName, instanceId As Guid, instanceKey As InstanceKey, conflictingInstanceId 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 instance against which the command was executed. The command failed because the instance key is already associated with another instance whose ID is represented by the conflictingInstanceId
parameter.
- instanceKey
- InstanceKey
The instance key information.
- conflictingInstanceId
- Guid
The ID of the instance that is currently associated with the instance key.
- innerException
- Exception
The exception that caused the current exception.
Applies to
InstanceKeyCollisionException(XName, Guid, InstanceKey, Guid, String, Exception)
Initializes an instance of the InstanceKeyCollisionException class with the name of the command, ID of the instance against which the command was executed, instance key information, the instance ID that is currently associated with the instance key, the error message that describes the exception, and inner exception information passed as parameters.
public:
InstanceKeyCollisionException(System::Xml::Linq::XName ^ commandName, Guid instanceId, System::Runtime::DurableInstancing::InstanceKey ^ instanceKey, Guid conflictingInstanceId, System::String ^ message, Exception ^ innerException);
public InstanceKeyCollisionException (System.Xml.Linq.XName commandName, Guid instanceId, System.Runtime.DurableInstancing.InstanceKey instanceKey, Guid conflictingInstanceId, string message, Exception innerException);
new System.Runtime.DurableInstancing.InstanceKeyCollisionException : System.Xml.Linq.XName * Guid * System.Runtime.DurableInstancing.InstanceKey * Guid * string * Exception -> System.Runtime.DurableInstancing.InstanceKeyCollisionException
Public Sub New (commandName As XName, instanceId As Guid, instanceKey As InstanceKey, conflictingInstanceId 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 instance against which the command was executed. The command failed because the instance key is already associated with another instance whose ID is represented by the conflictingInstanceId parameter.
- instanceKey
- InstanceKey
The instance key information.
- conflictingInstanceId
- Guid
The ID of the instance that is currently associated with the instance key.
- message
- String
The reason for the exception.
- innerException
- Exception
The exception that caused the current exception.