แก้ไข

แชร์ผ่าน


InstanceOwnerException Constructors

Definition

Initializes an instance of the InstanceOwnerException class.

Overloads

InstanceOwnerException()

Initializes an instance of the InstanceOwnerException class.

InstanceOwnerException(String)

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

InstanceOwnerException(SerializationInfo, StreamingContext)

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

InstanceOwnerException(String, Exception)

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

InstanceOwnerException(XName, Guid)

Initializes an instance of the InstanceOwnerException class using the XName (the combination of namespace and name) of the command and the ID of the instance owner.

InstanceOwnerException(XName, Guid, Exception)

Initializes an instance of the InstanceOwnerException class using the XName (the combination of namespace and name) of the command, the ID of the instance owner, and the inner exception information.

InstanceOwnerException(XName, Guid, String, Exception)

Initializes an instance of the InstanceOwnerException class using the XName (the combination of namespace and name) of the command, the ID of the instance owner, error message that describes the exception, and the inner exception information.

InstanceOwnerException()

Initializes an instance of the InstanceOwnerException class.

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

Applies to

InstanceOwnerException(String)

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

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

Parameters

message
String

The reason for the exception.

Applies to

InstanceOwnerException(SerializationInfo, StreamingContext)

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

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

InstanceOwnerException(String, Exception)

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

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

InstanceOwnerException(XName, Guid)

Initializes an instance of the InstanceOwnerException class using the XName (the combination of namespace and name) of the command and the ID of the instance owner.

public:
 InstanceOwnerException(System::Xml::Linq::XName ^ commandName, Guid instanceOwnerId);
public InstanceOwnerException (System.Xml.Linq.XName commandName, Guid instanceOwnerId);
new System.Runtime.DurableInstancing.InstanceOwnerException : System.Xml.Linq.XName * Guid -> System.Runtime.DurableInstancing.InstanceOwnerException
Public Sub New (commandName As XName, instanceOwnerId As Guid)

Parameters

commandName
XName

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

instanceOwnerId
Guid

The ID of the instance owner.

Applies to

InstanceOwnerException(XName, Guid, Exception)

Initializes an instance of the InstanceOwnerException class using the XName (the combination of namespace and name) of the command, the ID of the instance owner, and the inner exception information.

public:
 InstanceOwnerException(System::Xml::Linq::XName ^ commandName, Guid instanceOwnerId, Exception ^ innerException);
public InstanceOwnerException (System.Xml.Linq.XName commandName, Guid instanceOwnerId, Exception innerException);
new System.Runtime.DurableInstancing.InstanceOwnerException : System.Xml.Linq.XName * Guid * Exception -> System.Runtime.DurableInstancing.InstanceOwnerException
Public Sub New (commandName As XName, instanceOwnerId As Guid, innerException As Exception)

Parameters

commandName
XName

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

instanceOwnerId
Guid

The ID of the instance owner.

innerException
Exception

The exception that caused the current exception.

Applies to

InstanceOwnerException(XName, Guid, String, Exception)

Initializes an instance of the InstanceOwnerException class using the XName (the combination of namespace and name) of the command, the ID of the instance owner, error message that describes the exception, and the inner exception information.

public:
 InstanceOwnerException(System::Xml::Linq::XName ^ commandName, Guid instanceOwnerId, System::String ^ message, Exception ^ innerException);
public InstanceOwnerException (System.Xml.Linq.XName commandName, Guid instanceOwnerId, string message, Exception innerException);
new System.Runtime.DurableInstancing.InstanceOwnerException : System.Xml.Linq.XName * Guid * string * Exception -> System.Runtime.DurableInstancing.InstanceOwnerException
Public Sub New (commandName As XName, instanceOwnerId As Guid, message As String, innerException As Exception)

Parameters

commandName
XName

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

instanceOwnerId
Guid

The ID of the instance owner.

message
String

Error message that describes the exception.

innerException
Exception

The exception that caused the current exception.

Applies to