你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CommunicationMessagesModelFactory.NotificationContent Method

Definition

Initializes a new instance of NotificationContent.

public static Azure.Communication.Messages.NotificationContent NotificationContent(Guid channelRegistrationId = default, System.Collections.Generic.IEnumerable<string> to = default, string kind = default);
static member NotificationContent : Guid * seq<string> * string -> Azure.Communication.Messages.NotificationContent
Public Shared Function NotificationContent (Optional channelRegistrationId As Guid = Nothing, Optional to As IEnumerable(Of String) = Nothing, Optional kind As String = Nothing) As NotificationContent

Parameters

channelRegistrationId
Guid

The Channel Registration ID for the Business Identifier.

to
IEnumerable<String>

The native external platform user identifiers of the recipient.

kind
String

The type discriminator describing a notification type.

Returns

A new NotificationContent instance for mocking.

Applies to