InstanceKeyNotReadyException Constructor (XName, Guid, InstanceKey, String, Exception)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes an instance of the InstanceKeyNotReadyException class by 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).

Namespace:   System.Runtime.DurableInstancing
Assembly:  System.Runtime.DurableInstancing (in System.Runtime.DurableInstancing.dll)

public InstanceKeyNotReadyException(
	XName commandName,
	Guid instanceId,
	InstanceKey instanceKey,
	string message,
	Exception innerException
)

Parameters

commandName
Type: System.Xml.Linq.XName

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

instanceId
Type: System.Guid

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

instanceKey
Type: System.Runtime.DurableInstancing.InstanceKey

The information about the instance key.

message
Type: System.String

The reason for the exception.

innerException
Type: System.Exception

The exception that caused the current exception.

.NET Framework
Available since 4.0
Return to top
Show: