RoomsClient.CreateRoomAsync 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
CreateRoomAsync(CreateRoomOptions, CancellationToken) |
Creates a new room asynchronously. |
CreateRoomAsync(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<RoomParticipant>, CancellationToken) |
Creates a new room asynchronously. |
CreateRoomAsync(CreateRoomOptions, CancellationToken)
- Source:
- RoomsClient.cs
- Source:
- RoomsClient.cs
Creates a new room asynchronously.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.Rooms.CommunicationRoom>> CreateRoomAsync (Azure.Communication.Rooms.CreateRoomOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateRoomAsync : Azure.Communication.Rooms.CreateRoomOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.Rooms.CommunicationRoom>>
override this.CreateRoomAsync : Azure.Communication.Rooms.CreateRoomOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.Rooms.CommunicationRoom>>
Public Overridable Function CreateRoomAsync (options As CreateRoomOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CommunicationRoom))
Parameters
- options
- CreateRoomOptions
- cancellationToken
- CancellationToken
Returns
A Task<TResult> representing the result of the asynchronous operation.
Applies to
CreateRoomAsync(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<RoomParticipant>, CancellationToken)
- Source:
- RoomsClient.cs
- Source:
- RoomsClient.cs
Creates a new room asynchronously.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.Rooms.CommunicationRoom>> CreateRoomAsync (DateTimeOffset? validFrom = default, DateTimeOffset? validUntil = default, System.Collections.Generic.IEnumerable<Azure.Communication.Rooms.RoomParticipant> participants = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateRoomAsync : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.Communication.Rooms.RoomParticipant> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.Rooms.CommunicationRoom>>
override this.CreateRoomAsync : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.Communication.Rooms.RoomParticipant> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.Rooms.CommunicationRoom>>
Public Overridable Function CreateRoomAsync (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 Task(Of Response(Of CommunicationRoom))
Parameters
- validFrom
- Nullable<DateTimeOffset>
- validUntil
- Nullable<DateTimeOffset>
- participants
- IEnumerable<RoomParticipant>
- cancellationToken
- CancellationToken
Returns
A Task<TResult> representing the result of the asynchronous operation.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET