InstanceKeyCompleteException Constructors

Definition

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 ();

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

InstanceKeyCompleteException(String)

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

public InstanceKeyCompleteException (string message);

Parameters

message
String

The reason for the exception.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

InstanceKeyCompleteException(SerializationInfo, StreamingContext)

Initializes an instance of the InstanceKeyCompleteException class with the serialized data.

[System.Security.SecurityCritical]
protected InstanceKeyCompleteException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);

Parameters

info
SerializationInfo

The information about the current exception.

context
StreamingContext

The contextual information about the source or destination.

Attributes

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

InstanceKeyCompleteException(String, Exception)

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

public InstanceKeyCompleteException (string message, Exception innerException);

Parameters

message
String

The reason for the exception.

innerException
Exception

The exception that caused the current exception.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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);

Parameters

commandName
XName

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

instanceKey
InstanceKey

The information about the instance key.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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, string message, Exception innerException);

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.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1