Sdílet prostřednictvím


FabricValidationException Constructors

Definition

Overloads

FabricValidationException()

Default constructor for FabricValidationException

FabricValidationException(FabricErrorCode)

Constructor for FabricValidationException which takes in FabricErrorCode

FabricValidationException(String)

Constructor for FabricValidationException which takes in a message

FabricValidationException(SerializationInfo, StreamingContext)

FabricValidationException constructor

FabricValidationException(String, Exception)

Constructor for FabricValidationException which takes in a message and innner exception

FabricValidationException(String, FabricErrorCode)

Constructor for FabricValidationException which takes in a message and FabricErrorCode

FabricValidationException(SerializationInfo, StreamingContext, FabricErrorCode)

FabricValidationException constructor

FabricValidationException(String, Exception, FabricErrorCode)

Constructor for FabricValidationException which takes in a message and innner exception and fabric error code

FabricValidationException()

Default constructor for FabricValidationException

public FabricValidationException ();
Public Sub New ()

Applies to

FabricValidationException(FabricErrorCode)

Constructor for FabricValidationException which takes in FabricErrorCode

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

Parameters

errorCode
FabricErrorCode

FabricErrorCode for the failure

Applies to

FabricValidationException(String)

Constructor for FabricValidationException which takes in a message

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

Parameters

message
String

Error message

Applies to

FabricValidationException(SerializationInfo, StreamingContext)

FabricValidationException constructor

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

Parameters

info
SerializationInfo

info

context
StreamingContext

context

Applies to

FabricValidationException(String, Exception)

Constructor for FabricValidationException which takes in a message and innner exception

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

Parameters

message
String

Error message

inner
Exception

Inner exception

Applies to

FabricValidationException(String, FabricErrorCode)

Constructor for FabricValidationException which takes in a message and FabricErrorCode

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

Parameters

message
String

Error message

errorCode
FabricErrorCode

Fabric Error code

Applies to

FabricValidationException(SerializationInfo, StreamingContext, FabricErrorCode)

FabricValidationException constructor

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

Parameters

info
SerializationInfo

info

context
StreamingContext

context

errorCode
FabricErrorCode

errorCode

Applies to

FabricValidationException(String, Exception, FabricErrorCode)

Constructor for FabricValidationException which takes in a message and innner exception and fabric error code

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

Parameters

message
String

Error message

inner
Exception

Inner exception

errorCode
FabricErrorCode

Fabric error code

Applies to