Share via


FabricServiceNotFoundException Constructors

Definition

Overloads

FabricServiceNotFoundException()

Initializes a new instance of FabricServiceNotFoundException class with error code ServiceNotFound.

FabricServiceNotFoundException(String)

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

FabricServiceNotFoundException(String, Exception)

Initializes a new instance of FabricServiceNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.

FabricServiceNotFoundException()

Initializes a new instance of FabricServiceNotFoundException class with error code ServiceNotFound.

public FabricServiceNotFoundException ();
Public Sub New ()

Applies to

FabricServiceNotFoundException(String)

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

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

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

FabricServiceNotFoundException(String, Exception)

Initializes a new instance of FabricServiceNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.

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

Parameters

message
String

The error message that explains the reason for the exception.

inner
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.

Applies to