DeviceAlreadyExistsException Constructors

Definition

Overloads

DeviceAlreadyExistsException(String)
DeviceAlreadyExistsException(SerializationInfo, StreamingContext)
DeviceAlreadyExistsException(String, Exception)
DeviceAlreadyExistsException(String, String)

DeviceAlreadyExistsException(String)

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

Parameters

deviceId
System.String

Applies to

DeviceAlreadyExistsException(SerializationInfo, StreamingContext)

public DeviceAlreadyExistsException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Azure.Devices.Common.Exceptions.DeviceAlreadyExistsException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Azure.Devices.Common.Exceptions.DeviceAlreadyExistsException
Public Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

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

Applies to

DeviceAlreadyExistsException(String, Exception)

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

Parameters

message
System.String
innerException
System.Exception

Applies to

DeviceAlreadyExistsException(String, String)

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

Parameters

deviceId
System.String
trackingId
System.String

Applies to