IRealtimeClient 인터페이스

정의

실시간 클라이언트를 나타냅니다.

public interface class IRealtimeClient : IDisposable
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public interface IRealtimeClient : IDisposable
public interface IRealtimeClient : IDisposable
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type IRealtimeClient = interface
    interface IDisposable
type IRealtimeClient = interface
    interface IDisposable
Public Interface IRealtimeClient
Implements IDisposable
파생
특성
구현

설명

이 인터페이스는 실시간 세션을 만들고 관리하는 메서드를 제공합니다.

메서드

Name Description
CreateSessionAsync(RealtimeSessionOptions, CancellationToken)

지정된 옵션을 사용하여 새 실시간 세션을 만듭니다.

Dispose()

관리되지 않는 리소스의 해제, 해제 또는 재설정과 관련된 애플리케이션 정의 작업을 수행합니다.

(다음에서 상속됨 IDisposable)
GetService(Type, Object)

IRealtimeClient 지정된 형식serviceType의 개체를 묻습니다.

확장명 메서드

Name Description
AsBuilder(IRealtimeClient)

내부 클라이언트로 사용하여 RealtimeClientBuilderinnerClient 파일을 만듭니다.

GetRequiredService(IRealtimeClient, Type, Object)

IRealtimeClient 지정된 형식 serviceType 의 개체를 요청하고 사용할 수 없는 경우 예외를 throw합니다.

GetRequiredService<TService>(IRealtimeClient, Object)

형식 IRealtimeClientTService 개체를 요청하고 사용할 수 없는 경우 예외를 throw합니다.

GetService<TService>(IRealtimeClient, Object)

형식IRealtimeClientTService 개체를 묻습니다.

적용 대상