Compartilhar via


EventGridModelFactory.CommunicationIdentifierModel Método

Definição

Inicializa uma nova instância de 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

Parâmetros

rawId
String

ID bruta do identificador. Opcional em solicitações, necessário em respostas.

communicationUser
CommunicationUserIdentifierModel

O usuário de comunicação.

phoneNumber
PhoneNumberIdentifierModel

O número de telefone.

microsoftTeamsUser
MicrosoftTeamsUserIdentifierModel

O usuário do Microsoft Teams.

Retornos

Uma nova CommunicationIdentifierModel instância para zombar.

Aplica-se a