RoomsModelFactory.RoomParticipant(String, ParticipantRole) 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 RoomParticipant.
public static Azure.Communication.Rooms.RoomParticipant RoomParticipant (string rawId, Azure.Communication.Rooms.ParticipantRole role);
static member RoomParticipant : string * Azure.Communication.Rooms.ParticipantRole -> Azure.Communication.Rooms.RoomParticipant
Public Shared Function RoomParticipant (rawId As String, role As ParticipantRole) As RoomParticipant
Parameters
- rawId
- String
Raw ID representation of the communication identifier. Please refer to the following document for additional information on Raw ID. <br> https://zcusa.951200.xyz/azure/communication-services/concepts/identifiers?pivots=programming-language-rest#raw-id-representation.
- role
- ParticipantRole
The role of a room participant. The default value is Attendee.
Returns
A new RoomParticipant(String, ParticipantRole) instance for mocking.
Exceptions
rawId
is null.
Applies to
Azure SDK for .NET