Freigeben über


TooManyDevicesException Constructors

Definition

Overloads

Name Description
TooManyDevicesException(String)

Creates an instance of this class with a specified error message and marks it as non-transient.

TooManyDevicesException(String, Exception)

Creates an instance of this class with a specified error message and a reference to the inner exception that caused this exception, and marks it as non-transient.

TooManyDevicesException(String, String)

Creates an instance of this class with the supplied error message and tracking Id, and marks it as non-transient.

TooManyDevicesException(String)

Creates an instance of this class with a specified error message and marks it as non-transient.

public TooManyDevicesException(string message);
new Microsoft.Azure.Devices.Common.Exceptions.TooManyDevicesException : string -> Microsoft.Azure.Devices.Common.Exceptions.TooManyDevicesException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

TooManyDevicesException(String, Exception)

Creates an instance of this class with a specified error message and a reference to the inner exception that caused this exception, and marks it as non-transient.

public TooManyDevicesException(string message, Exception innerException);
new Microsoft.Azure.Devices.Common.Exceptions.TooManyDevicesException : string * Exception -> Microsoft.Azure.Devices.Common.Exceptions.TooManyDevicesException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message that describes the error.

innerException
Exception

The exception that is the cause of the current exception.

Applies to

TooManyDevicesException(String, String)

Creates an instance of this class with the supplied error message and tracking Id, and marks it as non-transient.

public TooManyDevicesException(string message, string trackingId);
new Microsoft.Azure.Devices.Common.Exceptions.TooManyDevicesException : string * string -> Microsoft.Azure.Devices.Common.Exceptions.TooManyDevicesException
Public Sub New (message As String, trackingId As String)

Parameters

message
String

The message that describes the error.

trackingId
String

The service returned tracking Id associated with this particular error.

Applies to