次の方法で共有


EventGridModelFactory.CommunicationIdentifierModel メソッド

定義

CommunicationIdentifierModel の新しいインスタンスを初期化します。

public static Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel CommunicationIdentifierModel (string rawId = default, Azure.Messaging.EventGrid.SystemEvents.CommunicationUserIdentifierModel communicationUser = default, Azure.Messaging.EventGrid.SystemEvents.PhoneNumberIdentifierModel phoneNumber = default, Azure.Messaging.EventGrid.SystemEvents.MicrosoftTeamsUserIdentifierModel microsoftTeamsUser = default);
static member CommunicationIdentifierModel : string * Azure.Messaging.EventGrid.SystemEvents.CommunicationUserIdentifierModel * Azure.Messaging.EventGrid.SystemEvents.PhoneNumberIdentifierModel * Azure.Messaging.EventGrid.SystemEvents.MicrosoftTeamsUserIdentifierModel -> Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel
Public Shared Function CommunicationIdentifierModel (Optional rawId As String = Nothing, Optional communicationUser As CommunicationUserIdentifierModel = Nothing, Optional phoneNumber As PhoneNumberIdentifierModel = Nothing, Optional microsoftTeamsUser As MicrosoftTeamsUserIdentifierModel = Nothing) As CommunicationIdentifierModel

パラメーター

rawId
String

識別子の生 ID。 要求では省略可能。応答では必須です。

communicationUser
CommunicationUserIdentifierModel

通信ユーザー。

phoneNumber
PhoneNumberIdentifierModel

電話番号。

microsoftTeamsUser
MicrosoftTeamsUserIdentifierModel

Microsoft Teams ユーザー。

戻り値

モック作成用の新しい CommunicationIdentifierModel インスタンス。

適用対象