Class FailedNotificationEventArgs
Event arguments used when exceptions are raised in callbacks.
Inherited Members
Namespace: Microsoft.Graph.Communications.Core.Notifications
Assembly: Microsoft.Graph.Communications.Core.dll
Syntax
public class FailedNotificationEventArgs
Constructors
FailedNotificationEventArgs(NotificationEventArgs, Exception)
Initializes a new instance of the FailedNotificationEventArgs class.
Declaration
public FailedNotificationEventArgs(NotificationEventArgs notification, Exception exception)
Parameters
| Type | Name | Description |
|---|---|---|
| NotificationEventArgs | notification | The NotificationEventArgs instance containing the event data. |
| Exception | exception | The exception. |
Properties
Exception
Gets the exception being raised.
Declaration
public Exception Exception { get; }
Property Value
| Type | Description |
|---|---|
| Exception |
Notification
Gets the notification that was being processed while this callback failed.
Declaration
public NotificationEventArgs Notification { get; }
Property Value
| Type | Description |
|---|---|
| NotificationEventArgs |