Interface INotificationProcessor
The notification processor interface.
Inherited Members
System.IDisposable.Dispose()
Namespace: Microsoft.Graph.CoreSDK.Notifications
Assembly: Microsoft.Graph.CoreSDK.dll
Syntax
public interface INotificationProcessor : IDisposable
Properties
View SourceAuthenticationProvider
Gets the authentication provider. TODO: This should probably not be a part of the INotificationProcessor. Ideally the request is already validated prior to making it in here. This means that 1) Already sanitized by authentication provider and 2) The tenant/correlation id parameters extracted into the IGraphRequest.
Declaration
IAuthenticationProvider AuthenticationProvider { get; }
Property Value
Type | Description |
---|---|
IAuthenticationProvider | The authentication provider. |
Methods
View SourceProcessNotification(IGraphRequest)
Process the incoming notification.
Declaration
IGraphResponse ProcessNotification(IGraphRequest request)
Parameters
Type | Name | Description |
---|---|---|
IGraphRequest | request | The request that contains the notification. |
Returns
Type | Description |
---|---|
IGraphResponse | The IGraphResponse for the processed IGraphRequest. |
Events
View SourceOnCollectionNotificationReceived
Occurs when a collection notification is received.
Declaration
event Action<CollectionNotificationEventArgs> OnCollectionNotificationReceived
Event Type
Type | Description |
---|---|
System.Action<CollectionNotificationEventArgs> |
OnNotificationReceived
Occurs when a notification is received. This is a global hook for all notifications.
Declaration
event Action<NotificationEventArgs> OnNotificationReceived
Event Type
Type | Description |
---|---|
System.Action<NotificationEventArgs> |
OnResourceNotificationReceived
Occurs when a single resource notification is received.
Declaration
event Action<NotificationEventArgs> OnResourceNotificationReceived
Event Type
Type | Description |
---|---|
System.Action<NotificationEventArgs> |