Edit

Share via


InstanceNotFoundException Constructors

Definition

Initializes a new instance of the InstanceNotFoundException class.

Overloads

InstanceNotFoundException()

Initializes a new instance of the InstanceNotFoundException class.

InstanceNotFoundException(Guid)

Initializes a new instance of the InstanceNotFoundException class using the specified identifier.

InstanceNotFoundException(String)

Initializes a new instance of the InstanceNotFoundException class using the specified message.

InstanceNotFoundException(Guid, Exception)

Initializes a new instance of the InstanceNotFoundException class using the specified identifier and inner exception.

InstanceNotFoundException(Guid, String)

Initializes a new instance of the InstanceNotFoundException class using the specified identifier and message.

InstanceNotFoundException(SerializationInfo, StreamingContext)

Initializes a new instance of the InstanceNotFoundException class with the serialized data.

InstanceNotFoundException(String, Exception)

Initializes a new instance of the InstanceNotFoundException class using the specified message and inner exception.

InstanceNotFoundException(Guid, String, Exception)

Initializes a new instance of the InstanceNotFoundException class using the specified identifier, message and inner exception.

InstanceNotFoundException()

Initializes a new instance of the InstanceNotFoundException class.

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

Applies to

InstanceNotFoundException(Guid)

Initializes a new instance of the InstanceNotFoundException class using the specified identifier.

public:
 InstanceNotFoundException(Guid id);
public InstanceNotFoundException (Guid id);
new System.ServiceModel.Persistence.InstanceNotFoundException : Guid -> System.ServiceModel.Persistence.InstanceNotFoundException
Public Sub New (id As Guid)

Parameters

id
Guid

The unique identifier associated with this instance.

Applies to

InstanceNotFoundException(String)

Initializes a new instance of the InstanceNotFoundException class using the specified message.

public:
 InstanceNotFoundException(System::String ^ message);
public InstanceNotFoundException (string message);
new System.ServiceModel.Persistence.InstanceNotFoundException : string -> System.ServiceModel.Persistence.InstanceNotFoundException
Public Sub New (message As String)

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

InstanceNotFoundException(Guid, Exception)

Initializes a new instance of the InstanceNotFoundException class using the specified identifier and inner exception.

public:
 InstanceNotFoundException(Guid id, Exception ^ innerException);
public InstanceNotFoundException (Guid id, Exception innerException);
new System.ServiceModel.Persistence.InstanceNotFoundException : Guid * Exception -> System.ServiceModel.Persistence.InstanceNotFoundException
Public Sub New (id As Guid, innerException As Exception)

Parameters

id
Guid

The unique identifier associated with this instance.

innerException
Exception

The Exception that caused the InstanceNotFoundException.

Applies to

InstanceNotFoundException(Guid, String)

Initializes a new instance of the InstanceNotFoundException class using the specified identifier and message.

public:
 InstanceNotFoundException(Guid id, System::String ^ message);
public InstanceNotFoundException (Guid id, string message);
new System.ServiceModel.Persistence.InstanceNotFoundException : Guid * string -> System.ServiceModel.Persistence.InstanceNotFoundException
Public Sub New (id As Guid, message As String)

Parameters

id
Guid

The unique identifier associated with this instance.

message
String

The error message that explains the reason for the exception.

Applies to

InstanceNotFoundException(SerializationInfo, StreamingContext)

Initializes a new instance of the InstanceNotFoundException class with the serialized data.

protected:
 InstanceNotFoundException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InstanceNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ServiceModel.Persistence.InstanceNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ServiceModel.Persistence.InstanceNotFoundException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context
StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Applies to

InstanceNotFoundException(String, Exception)

Initializes a new instance of the InstanceNotFoundException class using the specified message and inner exception.

public:
 InstanceNotFoundException(System::String ^ message, Exception ^ innerException);
public InstanceNotFoundException (string message, Exception innerException);
new System.ServiceModel.Persistence.InstanceNotFoundException : string * Exception -> System.ServiceModel.Persistence.InstanceNotFoundException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The error message that explains the reason for the exception.

innerException
Exception

The Exception that caused the InstanceNotFoundException.

Applies to

InstanceNotFoundException(Guid, String, Exception)

Initializes a new instance of the InstanceNotFoundException class using the specified identifier, message and inner exception.

public:
 InstanceNotFoundException(Guid id, System::String ^ message, Exception ^ innerException);
public InstanceNotFoundException (Guid id, string message, Exception innerException);
new System.ServiceModel.Persistence.InstanceNotFoundException : Guid * string * Exception -> System.ServiceModel.Persistence.InstanceNotFoundException
Public Sub New (id As Guid, message As String, innerException As Exception)

Parameters

id
Guid

The unique identifier associated with this instance.

message
String

The error message that explains the reason for the exception.

innerException
Exception

The Exception that caused the InstanceNotFoundException.

Applies to