EventGridModelFactory.CommunicationIdentifierModel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of CommunicationIdentifierModel.
public static Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel CommunicationIdentifierModel (Azure.Messaging.EventGrid.SystemEvents.AcsCommunicationIdentifierKind? kind = default, string rawId = default, Azure.Messaging.EventGrid.SystemEvents.CommunicationUserIdentifierModel communicationUser = default, Azure.Messaging.EventGrid.SystemEvents.PhoneNumberIdentifierModel phoneNumber = default, Azure.Messaging.EventGrid.SystemEvents.MicrosoftTeamsUserIdentifierModel microsoftTeamsUser = default, Azure.Messaging.EventGrid.SystemEvents.AcsMicrosoftTeamsAppIdentifier microsoftTeamsApp = default);
static member CommunicationIdentifierModel : Nullable<Azure.Messaging.EventGrid.SystemEvents.AcsCommunicationIdentifierKind> * string * Azure.Messaging.EventGrid.SystemEvents.CommunicationUserIdentifierModel * Azure.Messaging.EventGrid.SystemEvents.PhoneNumberIdentifierModel * Azure.Messaging.EventGrid.SystemEvents.MicrosoftTeamsUserIdentifierModel * Azure.Messaging.EventGrid.SystemEvents.AcsMicrosoftTeamsAppIdentifier -> Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel
Public Shared Function CommunicationIdentifierModel (Optional kind As Nullable(Of AcsCommunicationIdentifierKind) = Nothing, Optional rawId As String = Nothing, Optional communicationUser As CommunicationUserIdentifierModel = Nothing, Optional phoneNumber As PhoneNumberIdentifierModel = Nothing, Optional microsoftTeamsUser As MicrosoftTeamsUserIdentifierModel = Nothing, Optional microsoftTeamsApp As AcsMicrosoftTeamsAppIdentifier = Nothing) As CommunicationIdentifierModel
Parameters
The identifier kind. Only required in responses.
- rawId
- String
Raw Id of the identifier. Optional in requests, required in responses.
- communicationUser
- CommunicationUserIdentifierModel
The communication user.
- phoneNumber
- PhoneNumberIdentifierModel
The phone number.
- microsoftTeamsUser
- MicrosoftTeamsUserIdentifierModel
The Microsoft Teams user.
- microsoftTeamsApp
- AcsMicrosoftTeamsAppIdentifier
The Microsoft Teams application.
Returns
A new CommunicationIdentifierModel instance for mocking.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.
Azure SDK for .NET