SessionLockLostEventArgs Class
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.
This type represents the event args relating to the session lock lost event.
public class SessionLockLostEventArgs : EventArgs
type SessionLockLostEventArgs = class
inherit EventArgs
Public Class SessionLockLostEventArgs
Inherits EventArgs
- Inheritance
-
SessionLockLostEventArgs
Constructors
SessionLockLostEventArgs(ServiceBusReceivedMessage, DateTimeOffset, Exception) |
Constructs a new SessionLockLostEventArgs instance. |
Properties
Exception |
Gets the exception, if any, which led to the event being raised. If the exception is null, then the event was raised due to the session lock expiring based on the SessionLockedUntil property. |
Message |
The message that was being processed when the session lock was lost. |
SessionLockedUntil |
The time that the session lock expires. If this time is still in the future, then the session lock was lost due to an exception being thrown which can be accessed via the Exception property. |
Applies to
Azure SDK for .NET