Share via


DeviceMessageLockLostException Constructors

Definition

Overloads

DeviceMessageLockLostException()

Initializes a new instance of the DeviceMessageLockLostException class.

DeviceMessageLockLostException(String)

Initializes a new instance of the DeviceMessageLockLostException class with the message string containing the device identifier that could not be found.

DeviceMessageLockLostException(SerializationInfo, StreamingContext)

Initializes a new instance of the DeviceMessageLockLostException class with the specified serialization and context information.

DeviceMessageLockLostException(String, Exception)

Initializes a new instance of the DeviceMessageLockLostException class with the message string containing the device identifier that could not be found.

DeviceMessageLockLostException(String, Guid)

Initializes a new instance of the DeviceMessageLockLostException class with the message string containing the device identifier that could not be found.

DeviceMessageLockLostException()

Initializes a new instance of the DeviceMessageLockLostException class.

public DeviceMessageLockLostException();
Public Sub New ()

Applies to

DeviceMessageLockLostException(String)

Initializes a new instance of the DeviceMessageLockLostException class with the message string containing the device identifier that could not be found.

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

Parameters

message
System.String

A description of the error. The content of message is intended to be understood by humans.

Applies to

DeviceMessageLockLostException(SerializationInfo, StreamingContext)

Initializes a new instance of the DeviceMessageLockLostException class with the specified serialization and context information.

protected DeviceMessageLockLostException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Azure.Devices.Client.Exceptions.DeviceMessageLockLostException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Azure.Devices.Client.Exceptions.DeviceMessageLockLostException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
System.Runtime.Serialization.SerializationInfo

An object that holds the serialized object data about the exception being thrown.

context
System.Runtime.Serialization.StreamingContext

An object that contains contextual information about the source or destination.

Applies to

DeviceMessageLockLostException(String, Exception)

Initializes a new instance of the DeviceMessageLockLostException class with the message string containing the device identifier that could not be found.

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

Parameters

message
System.String

A description of the error. The content of message is intended to be understood by humans.

innerException
System.Exception

The exception that is the cause of the current exception

Applies to

DeviceMessageLockLostException(String, Guid)

Initializes a new instance of the DeviceMessageLockLostException class with the message string containing the device identifier that could not be found.

public DeviceMessageLockLostException(string deviceId, Guid messageId);
new Microsoft.Azure.Devices.Client.Exceptions.DeviceMessageLockLostException : string * Guid -> Microsoft.Azure.Devices.Client.Exceptions.DeviceMessageLockLostException
Public Sub New (deviceId As String, messageId As Guid)

Parameters

deviceId
System.String

Device identifier.

messageId
System.Guid

Message identifier.

Applies to