RoomsModelFactory.RoomParticipant(String, ParticipantRole) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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
パラメーター
- rawId
- String
通信識別子の生 ID 表現。 生 ID の詳細については、次のドキュメントを参照してください。 <br>https://learn.microsoft.com/azure/communication-services/concepts/identifiers?pivots=programming-language-rest#raw-id-representation.
- role
- ParticipantRole
ルームへの参加者に割り当てられているロール。 既定値は Attendee です。
戻り値
モック作成用の新しい RoomParticipant(String, ParticipantRole) インスタンス。
例外
rawId
が null です。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET