Dela via


FabricServiceNotFoundException Class

Definition

The exception that is thrown when there is no service found by the specified name.

[System.Serializable]
public sealed class FabricServiceNotFoundException : System.Fabric.FabricElementNotFoundException
[<System.Serializable>]
type FabricServiceNotFoundException = class
    inherit FabricElementNotFoundException
Public NotInheritable Class FabricServiceNotFoundException
Inherits FabricElementNotFoundException
Inheritance
Attributes

Constructors

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.

Properties

ErrorCode

Gets the error code parameter.

(Inherited from FabricException)

Applies to