Show / Hide Table of Contents

    Class NotificationsExtensions

    Communications notifications extensions.

    Inheritance
    Object
    NotificationsExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.Graph
    Assembly: Microsoft.Graph.Communications.Core.dll
    Syntax
    public static class NotificationsExtensions

    Methods

    GetResourceData(CommsNotification)

    Gets the resource data.

    Declaration
    public static object GetResourceData(this CommsNotification notification)
    Parameters
    Type Name Description
    CommsNotification notification

    The notification.

    Returns
    Type Description
    Object

    The resource data object for the specified notification.

    GetResourceData<T>(CommsNotification)

    Gets the resource data.

    Declaration
    public static T GetResourceData<T>(this CommsNotification notification)
    Parameters
    Type Name Description
    CommsNotification notification

    The notification.

    Returns
    Type Description
    T

    The resource data T object for the specified notification.

    Type Parameters
    Name Description
    T

    The expected resource data type.

    SetResourceData(CommsNotification, Object)

    Sets the resource data.

    Declaration
    public static void SetResourceData(this CommsNotification notification, object data)
    Parameters
    Type Name Description
    CommsNotification notification

    The notification.

    Object data

    The data.

    Back to top Copyright (c) Microsoft Corporation. All rights reserved.