Share via


FabricNotPrimaryException Constructors

Definition

Overloads

FabricNotPrimaryException()

public FabricNotPrimaryException();
Public Sub New ()

Applies to

FabricNotPrimaryException(FabricErrorCode)

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

Parameters

errorCode
FabricErrorCode

Applies to

FabricNotPrimaryException(String)

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

Parameters

message
System.String

Applies to

FabricNotPrimaryException(SerializationInfo, StreamingContext)

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

Parameters

info
System.Runtime.Serialization.SerializationInfo
context
System.Runtime.Serialization.StreamingContext

Applies to

FabricNotPrimaryException(String, Exception)

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

Parameters

message
System.String
inner
System.Exception

Applies to

FabricNotPrimaryException(String, FabricErrorCode)

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

Parameters

message
System.String
errorCode
FabricErrorCode

Applies to

FabricNotPrimaryException(SerializationInfo, StreamingContext, FabricErrorCode)

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

Parameters

info
System.Runtime.Serialization.SerializationInfo
context
System.Runtime.Serialization.StreamingContext
errorCode
FabricErrorCode

Applies to

FabricNotPrimaryException(String, Exception, FabricErrorCode)

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

Parameters

message
System.String
inner
System.Exception
errorCode
FabricErrorCode

Applies to