Share via


ProtocolGatewayException Constructors

Definition

Overloads

ProtocolGatewayException(ErrorCode, String)
ProtocolGatewayException(ErrorCode, String, Boolean)
ProtocolGatewayException(ErrorCode, String, String)
ProtocolGatewayException(ErrorCode, String, Boolean, String)

ProtocolGatewayException(ErrorCode, String)

public ProtocolGatewayException (Microsoft.Azure.Devices.ProtocolGateway.ErrorCode errorCode, string message);
new Microsoft.Azure.Devices.ProtocolGateway.ProtocolGatewayException : Microsoft.Azure.Devices.ProtocolGateway.ErrorCode * string -> Microsoft.Azure.Devices.ProtocolGateway.ProtocolGatewayException
Public Sub New (errorCode As ErrorCode, message As String)

Parameters

errorCode
ErrorCode
message
String

Applies to

ProtocolGatewayException(ErrorCode, String, Boolean)

public ProtocolGatewayException (Microsoft.Azure.Devices.ProtocolGateway.ErrorCode errorCode, string message, bool isTransient);
new Microsoft.Azure.Devices.ProtocolGateway.ProtocolGatewayException : Microsoft.Azure.Devices.ProtocolGateway.ErrorCode * string * bool -> Microsoft.Azure.Devices.ProtocolGateway.ProtocolGatewayException
Public Sub New (errorCode As ErrorCode, message As String, isTransient As Boolean)

Parameters

errorCode
ErrorCode
message
String
isTransient
Boolean

Applies to

ProtocolGatewayException(ErrorCode, String, String)

public ProtocolGatewayException (Microsoft.Azure.Devices.ProtocolGateway.ErrorCode errorCode, string message, string trackingId);
new Microsoft.Azure.Devices.ProtocolGateway.ProtocolGatewayException : Microsoft.Azure.Devices.ProtocolGateway.ErrorCode * string * string -> Microsoft.Azure.Devices.ProtocolGateway.ProtocolGatewayException
Public Sub New (errorCode As ErrorCode, message As String, trackingId As String)

Parameters

errorCode
ErrorCode
message
String
trackingId
String

Applies to

ProtocolGatewayException(ErrorCode, String, Boolean, String)

public ProtocolGatewayException (Microsoft.Azure.Devices.ProtocolGateway.ErrorCode errorCode, string message, bool isTransient, string trackingId);
new Microsoft.Azure.Devices.ProtocolGateway.ProtocolGatewayException : Microsoft.Azure.Devices.ProtocolGateway.ErrorCode * string * bool * string -> Microsoft.Azure.Devices.ProtocolGateway.ProtocolGatewayException
Public Sub New (errorCode As ErrorCode, message As String, isTransient As Boolean, trackingId As String)

Parameters

errorCode
ErrorCode
message
String
isTransient
Boolean
trackingId
String

Applies to