다음을 통해 공유


DefaultHubLifetimeManager<THub>.SendAllExceptAsync 메서드

정의

지정된 연결을 제외한 모든 허브 연결에 호출 메시지를 보냅니다.

public override System.Threading.Tasks.Task SendAllExceptAsync (string methodName, object[] args, System.Collections.Generic.IReadOnlyList<string> excludedConnectionIds, System.Threading.CancellationToken cancellationToken = default);
public override System.Threading.Tasks.Task SendAllExceptAsync (string methodName, object?[]? args, System.Collections.Generic.IReadOnlyList<string> excludedConnectionIds, System.Threading.CancellationToken cancellationToken = default);
public override System.Threading.Tasks.Task SendAllExceptAsync (string methodName, object?[] args, System.Collections.Generic.IReadOnlyList<string> excludedConnectionIds, System.Threading.CancellationToken cancellationToken = default);
override this.SendAllExceptAsync : string * obj[] * System.Collections.Generic.IReadOnlyList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function SendAllExceptAsync (methodName As String, args As Object(), excludedConnectionIds As IReadOnlyList(Of String), Optional cancellationToken As CancellationToken = Nothing) As Task

매개 변수

methodName
String

호출 메서드 이름입니다.

args
Object[]

호출 인수입니다.

excludedConnectionIds
IReadOnlyList<String>

제외할 연결 ID의 컬렉션입니다.

cancellationToken
CancellationToken

취소 요청을 모니터링할 토큰입니다. 기본값은 None입니다.

반환

비동기 전송을 나타내는 Task입니다.

적용 대상