Language

WebPubSubChatServiceClient.DeleteRoomMember Method

Definition

Overloads

Name Description
DeleteRoomMember(String, String, MatchConditions, RequestContext)

[Protocol Method] Delete a room member.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
DeleteRoomMember(String, String, MatchConditions, CancellationToken)

Delete a room member.

DeleteRoomMember(String, String, MatchConditions, RequestContext)

Source:
WebPubSubChatServiceClient.cs

[Protocol Method] Delete a room member.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.Response DeleteRoomMember(string roomId, string userId, Azure.MatchConditions matchConditions, Azure.RequestContext context);
abstract member DeleteRoomMember : string * string * Azure.MatchConditions * Azure.RequestContext -> Azure.Response
override this.DeleteRoomMember : string * string * Azure.MatchConditions * Azure.RequestContext -> Azure.Response
Public Overridable Function DeleteRoomMember (roomId As String, userId As String, matchConditions As MatchConditions, context As RequestContext) As Response

Parameters

roomId
String

Room identifier.

userId
String

User ID of the member.

matchConditions
MatchConditions

The content to send as the request conditions of the request.

context
RequestContext

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

roomId or userId is null.

roomId or userId is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to

DeleteRoomMember(String, String, MatchConditions, CancellationToken)

Source:
WebPubSubChatServiceClient.cs

Delete a room member.

public virtual Azure.Response DeleteRoomMember(string roomId, string userId, Azure.MatchConditions matchConditions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteRoomMember : string * string * Azure.MatchConditions * System.Threading.CancellationToken -> Azure.Response
override this.DeleteRoomMember : string * string * Azure.MatchConditions * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function DeleteRoomMember (roomId As String, userId As String, Optional matchConditions As MatchConditions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

roomId
String

Room identifier.

userId
String

User ID of the member.

matchConditions
MatchConditions

The content to send as the request conditions of the request.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

roomId or userId is null.

roomId or userId is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to