MessageFormatterProgressTracker.CreateProgress メソッド

定義

オーバーロード

名前 説明
CreateProgress(JsonRpc, Object, Type)

RPC 呼び出しの受信側で使用する IProgress<T> の新しいインスタンスを作成します。

CreateProgress(JsonRpc, Object, Type, Boolean)

RPC 呼び出しの受信側で使用する IProgress<T> の新しいインスタンスを作成します。

CreateProgress<T>(JsonRpc, Object)

RPC 呼び出しの受信側で使用する IProgress<T> の新しいインスタンスを作成します。

CreateProgress<T>(JsonRpc, Object, Boolean)

RPC 呼び出しの受信側で使用する IProgress<T> の新しいインスタンスを作成します。

CreateProgress(JsonRpc, Object, Type)

ソース:
MessageFormatterProgressTracker.cs
ソース:
MessageFormatterProgressTracker.cs
ソース:
MessageFormatterProgressTracker.cs
ソース:
MessageFormatterProgressTracker.cs

RPC 呼び出しの受信側で使用する IProgress<T> の新しいインスタンスを作成します。

public object CreateProgress(StreamJsonRpc.JsonRpc rpc, object token, Type valueType);
member this.CreateProgress : StreamJsonRpc.JsonRpc * obj * Type -> obj
Public Function CreateProgress (rpc As JsonRpc, token As Object, valueType As Type) As Object

パラメーター

rpc
JsonRpc

ProgressRequestSpecialMethod通知の送信に使用するJsonRpc インスタンス。

token
Object

StreamJsonRpc.Reflection.MessageFormatterProgressTracker.progressMapからMessageFormatterProgressTracker.ProgressParamInformation インスタンスを取得するために使用されるトークン。

valueType
Type

IProgress<T>が報告する型。

返品

注釈

このオーバーロードは、通知で名前付き引数を使用しないIProgress<T>を作成します。

適用対象

CreateProgress(JsonRpc, Object, Type, Boolean)

RPC 呼び出しの受信側で使用する IProgress<T> の新しいインスタンスを作成します。

public object CreateProgress(StreamJsonRpc.JsonRpc rpc, object token, Type valueType, bool clientRequiresNamedArguments);
member this.CreateProgress : StreamJsonRpc.JsonRpc * obj * Type * bool -> obj
Public Function CreateProgress (rpc As JsonRpc, token As Object, valueType As Type, clientRequiresNamedArguments As Boolean) As Object

パラメーター

rpc
JsonRpc

ProgressRequestSpecialMethod通知の送信に使用するJsonRpc インスタンス。

token
Object

StreamJsonRpc.Reflection.MessageFormatterProgressTracker.progressMapからMessageFormatterProgressTracker.ProgressParamInformation インスタンスを取得するために使用されるトークン。

valueType
Type

最初のジェネリック型引数が、作成された IProgress<T>の型引数として機能するジェネリック型。

clientRequiresNamedArguments
Boolean

true 名前付き引数を使用して $/progress 通知を発行する場合。位置引数を使用する false

返品

適用対象

CreateProgress<T>(JsonRpc, Object)

ソース:
MessageFormatterProgressTracker.cs
ソース:
MessageFormatterProgressTracker.cs
ソース:
MessageFormatterProgressTracker.cs
ソース:
MessageFormatterProgressTracker.cs

RPC 呼び出しの受信側で使用する IProgress<T> の新しいインスタンスを作成します。

public IProgress<T> CreateProgress<T>(StreamJsonRpc.JsonRpc rpc, object token);
member this.CreateProgress : StreamJsonRpc.JsonRpc * obj -> IProgress<'T>
Public Function CreateProgress(Of T) (rpc As JsonRpc, token As Object) As IProgress(Of T)

型パラメーター

T

IProgress<T>によって報告される値の型。

パラメーター

rpc
JsonRpc

ProgressRequestSpecialMethod通知の送信に使用するJsonRpc インスタンス。

token
Object

StreamJsonRpc.Reflection.MessageFormatterProgressTracker.progressMapからMessageFormatterProgressTracker.ProgressParamInformation インスタンスを取得するために使用されるトークン。

返品

注釈

このオーバーロードは、通知で名前付き引数を使用しないIProgress<T>を作成します。

適用対象

CreateProgress<T>(JsonRpc, Object, Boolean)

RPC 呼び出しの受信側で使用する IProgress<T> の新しいインスタンスを作成します。

public IProgress<T> CreateProgress<T>(StreamJsonRpc.JsonRpc rpc, object token, bool clientRequiresNamedArguments);
member this.CreateProgress : StreamJsonRpc.JsonRpc * obj * bool -> IProgress<'T>
Public Function CreateProgress(Of T) (rpc As JsonRpc, token As Object, clientRequiresNamedArguments As Boolean) As IProgress(Of T)

型パラメーター

T

IProgress<T>によって報告される値の型。

パラメーター

rpc
JsonRpc

ProgressRequestSpecialMethod通知の送信に使用するJsonRpc インスタンス。

token
Object

StreamJsonRpc.Reflection.MessageFormatterProgressTracker.progressMapからMessageFormatterProgressTracker.ProgressParamInformation インスタンスを取得するために使用されるトークン。

clientRequiresNamedArguments
Boolean

true 名前付き引数を使用して $/progress 通知を発行する場合。位置引数を使用する false

返品

適用対象