IRealtimeClientSession インターフェイス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
リアルタイム セッションを表します。
public interface class IRealtimeClientSession : IAsyncDisposable
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public interface IRealtimeClientSession : IAsyncDisposable
public interface IRealtimeClientSession : IAsyncDisposable
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type IRealtimeClientSession = interface
interface IAsyncDisposable
type IRealtimeClientSession = interface
interface IAsyncDisposable
Public Interface IRealtimeClientSession
Implements IAsyncDisposable
- 派生
- 属性
- 実装
注釈
このインターフェイスは、リアルタイム セッションを管理し、リアルタイム モデルと対話するメソッドを提供します。
プロパティ
| 名前 | 説明 |
|---|---|
| Options |
現在のセッション オプションを取得します。 |
メソッド
| 名前 | 説明 |
|---|---|
| DisposeAsync() |
アンマネージ リソースの解放、解放、またはリセットに関連するアプリケーション定義タスクを非同期的に実行します。 (継承元 IAsyncDisposable) |
| GetService(Type, Object) |
指定した型IRealtimeClientSessionのオブジェクトを |
| GetStreamingResponseAsync(CancellationToken) |
リアルタイム セッションからの応答をストリーミングします。 |
| SendAsync(RealtimeClientMessage, CancellationToken) |
クライアント メッセージをセッションに送信します。 |
拡張メソッド
| 名前 | 説明 |
|---|---|
| ConfigureAwait(IAsyncDisposable, Boolean) |
非同期破棄から返されるタスクの待機を実行する方法を構成します。 |
| GetRequiredService(IRealtimeClientSession, Type, Object) |
指定した型IRealtimeClientSessionのオブジェクトを |
| GetRequiredService<TService>(IRealtimeClientSession, Object) |
IRealtimeClientSession型のオブジェクトを |
| GetService<TService>(IRealtimeClientSession, Object) |
IRealtimeClientSession型のオブジェクトを |