InstanceKeyCompleteException 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 InstanceKeyCompleteException class.
Overloads
InstanceKeyCompleteException() |
Initializes an instance of the InstanceKeyCompleteException class. |
InstanceKeyCompleteException(String) |
Initializes an instance of the InstanceKeyCompleteException class using the error message. |
InstanceKeyCompleteException(SerializationInfo, StreamingContext) |
Initializes an instance of the InstanceKeyCompleteException class with the serialized data. |
InstanceKeyCompleteException(String, Exception) |
Initializes an instance of the InstanceKeyCompleteException class using the error message and the inner exception information. |
InstanceKeyCompleteException(XName, InstanceKey) |
Initializes an instance of the InstanceKeyCompleteException class using the name of the command, and the instance key information. |
InstanceKeyCompleteException(XName, InstanceKey, Exception) |
Initializes an instance of the InstanceKeyCompleteException class using the name of the command, the instance key information, and the inner exception (the exception that caused the current exception). |
InstanceKeyCompleteException(XName, Guid, InstanceKey, String, Exception) |
Initializes an instance of the InstanceKeyCompleteException class using the name of the command, ID of the instance against which the command was executed, instance key information, the error message that explains the reason for the exception, and the inner exception (the exception that caused the current exception) passed as parameters. |
InstanceKeyCompleteException()
Initializes an instance of the InstanceKeyCompleteException class.
public:
InstanceKeyCompleteException();
public InstanceKeyCompleteException ();
Public Sub New ()
Applies to
InstanceKeyCompleteException(String)
Initializes an instance of the InstanceKeyCompleteException class using the error message.
public:
InstanceKeyCompleteException(System::String ^ message);
public InstanceKeyCompleteException (string message);
new System.Runtime.DurableInstancing.InstanceKeyCompleteException : string -> System.Runtime.DurableInstancing.InstanceKeyCompleteException
Public Sub New (message As String)
Parameters
- message
- String
The reason for the exception.
Applies to
InstanceKeyCompleteException(SerializationInfo, StreamingContext)
Initializes an instance of the InstanceKeyCompleteException class with the serialized data.
protected:
InstanceKeyCompleteException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Security.SecurityCritical]
protected InstanceKeyCompleteException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Security.SecurityCritical>]
new System.Runtime.DurableInstancing.InstanceKeyCompleteException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Runtime.DurableInstancing.InstanceKeyCompleteException
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
InstanceKeyCompleteException(String, Exception)
Initializes an instance of the InstanceKeyCompleteException class using the error message and the inner exception information.
public:
InstanceKeyCompleteException(System::String ^ message, Exception ^ innerException);
public InstanceKeyCompleteException (string message, Exception innerException);
new System.Runtime.DurableInstancing.InstanceKeyCompleteException : string * Exception -> System.Runtime.DurableInstancing.InstanceKeyCompleteException
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
InstanceKeyCompleteException(XName, InstanceKey)
Initializes an instance of the InstanceKeyCompleteException class using the name of the command, and the instance key information.
public:
InstanceKeyCompleteException(System::Xml::Linq::XName ^ commandName, System::Runtime::DurableInstancing::InstanceKey ^ instanceKey);
public InstanceKeyCompleteException (System.Xml.Linq.XName commandName, System.Runtime.DurableInstancing.InstanceKey instanceKey);
new System.Runtime.DurableInstancing.InstanceKeyCompleteException : System.Xml.Linq.XName * System.Runtime.DurableInstancing.InstanceKey -> System.Runtime.DurableInstancing.InstanceKeyCompleteException
Public Sub New (commandName As XName, instanceKey As InstanceKey)
Parameters
- commandName
- XName
The XName (the combination of namespace and name) of the command.
- instanceKey
- InstanceKey
The information about the instance key.
Applies to
InstanceKeyCompleteException(XName, InstanceKey, Exception)
Initializes an instance of the InstanceKeyCompleteException class using the name of the command, the instance key information, and the inner exception (the exception that caused the current exception).
public:
InstanceKeyCompleteException(System::Xml::Linq::XName ^ commandName, System::Runtime::DurableInstancing::InstanceKey ^ instanceKey, Exception ^ innerException);
public InstanceKeyCompleteException (System.Xml.Linq.XName commandName, System.Runtime.DurableInstancing.InstanceKey instanceKey, Exception innerException);
new System.Runtime.DurableInstancing.InstanceKeyCompleteException : System.Xml.Linq.XName * System.Runtime.DurableInstancing.InstanceKey * Exception -> System.Runtime.DurableInstancing.InstanceKeyCompleteException
Public Sub New (commandName As XName, instanceKey As InstanceKey, innerException As Exception)
Parameters
- commandName
- XName
The XName (the combination of namespace and name) of the command.
- instanceKey
- InstanceKey
The information about the instance key.
- innerException
- Exception
The exception that caused the current exception.
Applies to
InstanceKeyCompleteException(XName, Guid, InstanceKey, String, Exception)
Initializes an instance of the InstanceKeyCompleteException class using the name of the command, ID of the instance against which the command was executed, instance key information, the error message that explains the reason for the exception, and the inner exception (the exception that caused the current exception) passed as parameters.
public:
InstanceKeyCompleteException(System::Xml::Linq::XName ^ commandName, Guid instanceId, System::Runtime::DurableInstancing::InstanceKey ^ instanceKey, System::String ^ message, Exception ^ innerException);
public InstanceKeyCompleteException (System.Xml.Linq.XName commandName, Guid instanceId, System.Runtime.DurableInstancing.InstanceKey instanceKey, string message, Exception innerException);
new System.Runtime.DurableInstancing.InstanceKeyCompleteException : System.Xml.Linq.XName * Guid * System.Runtime.DurableInstancing.InstanceKey * string * Exception -> System.Runtime.DurableInstancing.InstanceKeyCompleteException
Public Sub New (commandName As XName, instanceId As Guid, instanceKey As InstanceKey, 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.
- instanceKey
- InstanceKey
The information about the instance key.
- message
- String
Error message that explains the reason for the exception.
- innerException
- Exception
The exception that caused the current exception.