ProvisioningTransportException 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
ProvisioningTransportException() |
Creates a new instance of the ProvisioningTransportException class. |
ProvisioningTransportException(Exception) |
Creates a new instance of the ProvisioningTransportException class. |
ProvisioningTransportException(String) |
Creates a new instance of the ProvisioningTransportException class. |
ProvisioningTransportException(SerializationInfo, StreamingContext) |
Creates a new instance of the ProvisioningTransportException class. |
ProvisioningTransportException(String, Exception) |
Creates a new instance of the ProvisioningTransportException class. |
ProvisioningTransportException(String, Exception, Boolean) |
Creates a new instance of the ProvisioningTransportException class. |
ProvisioningTransportException(String, Exception, Boolean, ProvisioningErrorDetails) |
Creates a new instance of the ProvisioningTransportException class. |
ProvisioningTransportException(String, Exception, Boolean, String) |
Creates a new instance of the ProvisioningTransportException class. |
ProvisioningTransportException()
Creates a new instance of the ProvisioningTransportException class.
public ProvisioningTransportException ();
Public Sub New ()
Applies to
ProvisioningTransportException(Exception)
Creates a new instance of the ProvisioningTransportException class.
public ProvisioningTransportException (Exception innerException);
new Microsoft.Azure.Devices.Provisioning.Client.ProvisioningTransportException : Exception -> Microsoft.Azure.Devices.Provisioning.Client.ProvisioningTransportException
Public Sub New (innerException As Exception)
Parameters
- innerException
- Exception
The inner exception.
Applies to
ProvisioningTransportException(String)
Creates a new instance of the ProvisioningTransportException class.
public ProvisioningTransportException (string message);
new Microsoft.Azure.Devices.Provisioning.Client.ProvisioningTransportException : string -> Microsoft.Azure.Devices.Provisioning.Client.ProvisioningTransportException
Public Sub New (message As String)
Parameters
- message
- String
The exception message.
Applies to
ProvisioningTransportException(SerializationInfo, StreamingContext)
Creates a new instance of the ProvisioningTransportException class.
protected ProvisioningTransportException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Azure.Devices.Provisioning.Client.ProvisioningTransportException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Azure.Devices.Provisioning.Client.ProvisioningTransportException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
- context
- StreamingContext
The StreamingContext that contains contextual information about the source or destination.
Applies to
ProvisioningTransportException(String, Exception)
Creates a new instance of the ProvisioningTransportException class.
public ProvisioningTransportException (string message, Exception innerException);
new Microsoft.Azure.Devices.Provisioning.Client.ProvisioningTransportException : string * Exception -> Microsoft.Azure.Devices.Provisioning.Client.ProvisioningTransportException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The exception message.
- innerException
- Exception
The inner exception.
Applies to
ProvisioningTransportException(String, Exception, Boolean)
Creates a new instance of the ProvisioningTransportException class.
public ProvisioningTransportException (string message, Exception innerException, bool isTransient);
new Microsoft.Azure.Devices.Provisioning.Client.ProvisioningTransportException : string * Exception * bool -> Microsoft.Azure.Devices.Provisioning.Client.ProvisioningTransportException
Public Sub New (message As String, innerException As Exception, isTransient As Boolean)
Parameters
- message
- String
The exception message.
- innerException
- Exception
The inner exception.
- isTransient
- Boolean
True if the error is transient.
Applies to
ProvisioningTransportException(String, Exception, Boolean, ProvisioningErrorDetails)
Creates a new instance of the ProvisioningTransportException class.
public ProvisioningTransportException (string message, Exception innerException, bool isTransient, Microsoft.Azure.Devices.Provisioning.Client.ProvisioningErrorDetails errorDetails);
new Microsoft.Azure.Devices.Provisioning.Client.ProvisioningTransportException : string * Exception * bool * Microsoft.Azure.Devices.Provisioning.Client.ProvisioningErrorDetails -> Microsoft.Azure.Devices.Provisioning.Client.ProvisioningTransportException
Public Sub New (message As String, innerException As Exception, isTransient As Boolean, errorDetails As ProvisioningErrorDetails)
Parameters
- message
- String
The exception message.
- innerException
- Exception
The inner exception.
- isTransient
- Boolean
True if the error is transient.
- errorDetails
- ProvisioningErrorDetails
The service error details.
Applies to
ProvisioningTransportException(String, Exception, Boolean, String)
Creates a new instance of the ProvisioningTransportException class.
public ProvisioningTransportException (string message, Exception innerException, bool isTransient, string trackingId);
new Microsoft.Azure.Devices.Provisioning.Client.ProvisioningTransportException : string * Exception * bool * string -> Microsoft.Azure.Devices.Provisioning.Client.ProvisioningTransportException
Public Sub New (message As String, innerException As Exception, isTransient As Boolean, trackingId As String)
Parameters
- message
- String
The exception message.
- innerException
- Exception
The inner exception.
- isTransient
- Boolean
True if the error is transient.
- trackingId
- String
The service tracking Id.
Applies to
Azure SDK for .NET