RoomsClient.CreateRoom 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.
Overloads
CreateRoom(CreateRoomOptions, CancellationToken) |
Creates a new room. |
CreateRoom(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<RoomParticipant>, CancellationToken) |
Creates a new room. |
CreateRoom(CreateRoomOptions, CancellationToken)
- Source:
- RoomsClient.cs
- Source:
- RoomsClient.cs
Creates a new room.
public virtual Azure.Response<Azure.Communication.Rooms.CommunicationRoom> CreateRoom (Azure.Communication.Rooms.CreateRoomOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateRoom : Azure.Communication.Rooms.CreateRoomOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.Rooms.CommunicationRoom>
override this.CreateRoom : Azure.Communication.Rooms.CreateRoomOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.Rooms.CommunicationRoom>
Public Overridable Function CreateRoom (options As CreateRoomOptions, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CommunicationRoom)
Parameters
- options
- CreateRoomOptions
- cancellationToken
- CancellationToken
Returns
Applies to
CreateRoom(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<RoomParticipant>, CancellationToken)
- Source:
- RoomsClient.cs
- Source:
- RoomsClient.cs
Creates a new room.
public virtual Azure.Response<Azure.Communication.Rooms.CommunicationRoom> CreateRoom (DateTimeOffset? validFrom = default, DateTimeOffset? validUntil = default, System.Collections.Generic.IEnumerable<Azure.Communication.Rooms.RoomParticipant> participants = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateRoom : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.Communication.Rooms.RoomParticipant> * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.Rooms.CommunicationRoom>
override this.CreateRoom : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.Communication.Rooms.RoomParticipant> * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.Rooms.CommunicationRoom>
Public Overridable Function CreateRoom (Optional validFrom As Nullable(Of DateTimeOffset) = Nothing, Optional validUntil As Nullable(Of DateTimeOffset) = Nothing, Optional participants As IEnumerable(Of RoomParticipant) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CommunicationRoom)
Parameters
- validFrom
- Nullable<DateTimeOffset>
- validUntil
- Nullable<DateTimeOffset>
- participants
- IEnumerable<RoomParticipant>
- cancellationToken
- CancellationToken
Returns
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET