DeviceMessageLockLostException 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
DeviceMessageLockLostException() |
Initializes a new instance of the class. |
DeviceMessageLockLostException(String) |
Initializes a new instance of the class with the message string containing the device identifier that could not be found. |
DeviceMessageLockLostException(SerializationInfo, StreamingContext) |
Initializes a new instance of the class with the specified serialization and context information. |
DeviceMessageLockLostException(String, Exception) |
Initializes a new instance of the class with the message string containing the device identifier that could not be found. |
DeviceMessageLockLostException(String, Guid) |
Initializes a new instance of the class with the message string containing the device identifier that could not be found. |
DeviceMessageLockLostException()
Initializes a new instance of the class.
public DeviceMessageLockLostException ();
Public Sub New ()
Applies to
DeviceMessageLockLostException(String)
Initializes a new instance of the 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
- 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 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
- SerializationInfo
An object that holds the serialized object data about the exception being thrown.
- context
- StreamingContext
An object that contains contextual information about the source or destination.
Applies to
DeviceMessageLockLostException(String, Exception)
Initializes a new instance of the 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
- String
A description of the error. The content of message is intended to be understood by humans.
- innerException
- Exception
The exception that is the cause of the current exception
Applies to
DeviceMessageLockLostException(String, Guid)
Initializes a new instance of the 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
- String
Device identifier.
- messageId
- Guid
Message identifier.
Applies to
Azure SDK for .NET