Show / Hide Table of Contents

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 Source

AuthenticationProvider

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 Source

ProcessNotification(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 Source

OnCollectionNotificationReceived

Occurs when a collection notification is received.

Declaration
event Action<CollectionNotificationEventArgs> OnCollectionNotificationReceived
Event Type
Type Description
System.Action<CollectionNotificationEventArgs>
View Source

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>
View Source

OnResourceNotificationReceived

Occurs when a single resource notification is received.

Declaration
event Action<NotificationEventArgs> OnResourceNotificationReceived
Event Type
Type Description
System.Action<NotificationEventArgs>

Extension Methods

NotificationProcessorExtensions.ProcessNotificationAsync(INotificationProcessor, HttpRequestMessage)
  • View Source
Back to top Generated by DocFX