FabricElementNotFoundException FabricElementNotFoundException FabricElementNotFoundException Constructors

Definition

Overloads

FabricElementNotFoundException() FabricElementNotFoundException()

Initializes a new instance of FabricElementNotFoundException class with error code Unknown.

FabricElementNotFoundException(FabricErrorCode) FabricElementNotFoundException(FabricErrorCode) FabricElementNotFoundException(FabricErrorCode)

Initializes a new instance of FabricElementNotFoundException class with a specified error code.

FabricElementNotFoundException(String) FabricElementNotFoundException(String) FabricElementNotFoundException(String)

Initializes a new instance of StreamingContext class with error code Unknown and a specified error message.

FabricElementNotFoundException(SerializationInfo, StreamingContext) FabricElementNotFoundException(SerializationInfo, StreamingContext) FabricElementNotFoundException(SerializationInfo, StreamingContext)

Initializes a new instance of FabricElementNotFoundException class with specified info, context.

FabricElementNotFoundException(String, Exception) FabricElementNotFoundException(String, Exception) FabricElementNotFoundException(String, Exception)

Initializes a new instance of StreamingContext class with specified error message and inner exception.

FabricElementNotFoundException(String, FabricErrorCode) FabricElementNotFoundException(String, FabricErrorCode) FabricElementNotFoundException(String, FabricErrorCode)

Initializes a new instance of FabricElementNotFoundException class with specified message and error code.

FabricElementNotFoundException(SerializationInfo, StreamingContext, FabricErrorCode) FabricElementNotFoundException(SerializationInfo, StreamingContext, FabricErrorCode) FabricElementNotFoundException(SerializationInfo, StreamingContext, FabricErrorCode)

Initializes a new instance of FabricElementNotFoundException class with specified info, context and error code.

FabricElementNotFoundException(String, Exception, FabricErrorCode) FabricElementNotFoundException(String, Exception, FabricErrorCode) FabricElementNotFoundException(String, Exception, FabricErrorCode)

Initializes a new instance of FabricElementNotFoundException class with specified message, inner exception and error code.

FabricElementNotFoundException() FabricElementNotFoundException()

Initializes a new instance of FabricElementNotFoundException class with error code Unknown.

public FabricElementNotFoundException ();
Public Sub New ()

FabricElementNotFoundException(FabricErrorCode) FabricElementNotFoundException(FabricErrorCode) FabricElementNotFoundException(FabricErrorCode)

Initializes a new instance of FabricElementNotFoundException class with a specified error code.

public FabricElementNotFoundException (System.Fabric.FabricErrorCode errorCode);
new System.Fabric.FabricElementNotFoundException : System.Fabric.FabricErrorCode -> System.Fabric.FabricElementNotFoundException
Public Sub New (errorCode As FabricErrorCode)

Parameters

errorCode
FabricErrorCode FabricErrorCode FabricErrorCode

The error code associated with the exception.

FabricElementNotFoundException(String) FabricElementNotFoundException(String) FabricElementNotFoundException(String)

Initializes a new instance of StreamingContext class with error code Unknown and a specified error message.

public FabricElementNotFoundException (string message);
new System.Fabric.FabricElementNotFoundException : string -> System.Fabric.FabricElementNotFoundException
Public Sub New (message As String)

Parameters

message
String String String

The error message that explains the reason for the exception.

FabricElementNotFoundException(SerializationInfo, StreamingContext) FabricElementNotFoundException(SerializationInfo, StreamingContext) FabricElementNotFoundException(SerializationInfo, StreamingContext)

Initializes a new instance of FabricElementNotFoundException class with specified info, context.

protected FabricElementNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Fabric.FabricElementNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Fabric.FabricElementNotFoundException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo SerializationInfo SerializationInfo

The SerializationInfo object that contains serialized object data of the exception being thrown.

context
StreamingContext StreamingContext StreamingContext

The StreamingContext object that contains contextual information about the source or destination. The context parameter is reserved for future use and can be null.

FabricElementNotFoundException(String, Exception) FabricElementNotFoundException(String, Exception) FabricElementNotFoundException(String, Exception)

Initializes a new instance of StreamingContext class with specified error message and inner exception.

public FabricElementNotFoundException (string message, Exception inner);
new System.Fabric.FabricElementNotFoundException : string * Exception -> System.Fabric.FabricElementNotFoundException
Public Sub New (message As String, inner As Exception)

Parameters

message
String String String

The error message that explains the reason for the exception.

inner
Exception Exception Exception

The exception that is the cause of the current exception or null if no inner exception is specified. The Exception class provides more details about the inner exception.

FabricElementNotFoundException(String, FabricErrorCode) FabricElementNotFoundException(String, FabricErrorCode) FabricElementNotFoundException(String, FabricErrorCode)

Initializes a new instance of FabricElementNotFoundException class with specified message and error code.

public FabricElementNotFoundException (string message, System.Fabric.FabricErrorCode errorCode);
new System.Fabric.FabricElementNotFoundException : string * System.Fabric.FabricErrorCode -> System.Fabric.FabricElementNotFoundException
Public Sub New (message As String, errorCode As FabricErrorCode)

Parameters

message
String String String

The error message that explains the reason for the exception.

errorCode
FabricErrorCode FabricErrorCode FabricErrorCode

The error code associated with the exception.

FabricElementNotFoundException(SerializationInfo, StreamingContext, FabricErrorCode) FabricElementNotFoundException(SerializationInfo, StreamingContext, FabricErrorCode) FabricElementNotFoundException(SerializationInfo, StreamingContext, FabricErrorCode)

Initializes a new instance of FabricElementNotFoundException class with specified info, context and error code.

protected FabricElementNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context, System.Fabric.FabricErrorCode errorCode);
new System.Fabric.FabricElementNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext * System.Fabric.FabricErrorCode -> System.Fabric.FabricElementNotFoundException
Protected Sub New (info As SerializationInfo, context As StreamingContext, errorCode As FabricErrorCode)

Parameters

info
SerializationInfo SerializationInfo SerializationInfo

The SerializationInfo object that contains serialized object data of the exception being thrown.

context
StreamingContext StreamingContext StreamingContext

The StreamingContext object that contains contextual information about the source or destination. The context parameter is reserved for future use and can be null.

errorCode
FabricErrorCode FabricErrorCode FabricErrorCode

The error code associated with the exception.

FabricElementNotFoundException(String, Exception, FabricErrorCode) FabricElementNotFoundException(String, Exception, FabricErrorCode) FabricElementNotFoundException(String, Exception, FabricErrorCode)

Initializes a new instance of FabricElementNotFoundException class with specified message, inner exception and error code.

public FabricElementNotFoundException (string message, Exception inner, System.Fabric.FabricErrorCode errorCode);
new System.Fabric.FabricElementNotFoundException : string * Exception * System.Fabric.FabricErrorCode -> System.Fabric.FabricElementNotFoundException
Public Sub New (message As String, inner As Exception, errorCode As FabricErrorCode)

Parameters

message
String String String

The error message that explains the reason for the exception.

inner
Exception Exception Exception

The exception that is the cause of the current exception or null if no inner exception is specified. The Exception class provides more details about the inner exception.

errorCode
FabricErrorCode FabricErrorCode FabricErrorCode

The error code associated with the exception.

Applies to