ProtocolGatewayException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for