Language

JsonRpc.AddLocalRpcTarget メソッド

定義

オーバーロード

名前 説明
AddLocalRpcTarget(Object, JsonRpcTargetOptions)

受信メッセージを受信したときに呼び出す、指定したターゲットを可能な限り追加します。 ターゲット オブジェクトは相互に継承する必要はありません。また、追加された順序で呼び出されます。

AddLocalRpcTarget(Type, Object, JsonRpcTargetOptions)
AddLocalRpcTarget(Object)

受信メッセージを受信したときに呼び出す、指定したターゲットを可能な限り追加します。 ターゲット オブジェクトは相互に継承する必要はありません。また、追加された順序で呼び出されます。

AddLocalRpcTarget<T>(T, JsonRpcTargetOptions)

AddLocalRpcTarget(Object, JsonRpcTargetOptions)

ソース:
JsonRpc.cs
ソース:
JsonRpc.cs
ソース:
JsonRpc.cs
ソース:
JsonRpc.cs
ソース:
JsonRpc.cs
ソース:
JsonRpc.cs
ソース:
JsonRpc.cs

受信メッセージを受信したときに呼び出す、指定したターゲットを可能な限り追加します。 ターゲット オブジェクトは相互に継承する必要はありません。また、追加された順序で呼び出されます。

public void AddLocalRpcTarget(object target, StreamJsonRpc.JsonRpcTargetOptions options);
public void AddLocalRpcTarget(object target, StreamJsonRpc.JsonRpcTargetOptions? options);
member this.AddLocalRpcTarget : obj * StreamJsonRpc.JsonRpcTargetOptions -> unit
Public Sub AddLocalRpcTarget (target As Object, options As JsonRpcTargetOptions)

パラメーター

target
Object

受信メッセージの受信時に呼び出すターゲット。

options
JsonRpcTargetOptions

ターゲット オブジェクトの登録方法に関する一連のカスタマイズ。 null場合は、既定のオプションが使用されます。

適用対象

AddLocalRpcTarget(Type, Object, JsonRpcTargetOptions)

StreamJsonRpc.Reflection.RpcTargetInfo.AddLocalRpcTarget(System.Type,System.Object,StreamJsonRpc.JsonRpcTargetOptions,System.Boolean)
public void AddLocalRpcTarget(Type exposingMembersOn, object target, StreamJsonRpc.JsonRpcTargetOptions? options);
member this.AddLocalRpcTarget : Type * obj * StreamJsonRpc.JsonRpcTargetOptions -> unit
Public Sub AddLocalRpcTarget (exposingMembersOn As Type, target As Object, options As JsonRpcTargetOptions)

パラメーター

exposingMembersOn
Type
target
Object

例外

StartListening()が呼び出され、AllowModificationWhileListeningがfalseされた後に呼び出された場合にスローされます。

適用対象

AddLocalRpcTarget(Object)

ソース:
JsonRpc.cs
ソース:
JsonRpc.cs
ソース:
JsonRpc.cs
ソース:
JsonRpc.cs
ソース:
JsonRpc.cs
ソース:
JsonRpc.cs
ソース:
JsonRpc.cs

受信メッセージを受信したときに呼び出す、指定したターゲットを可能な限り追加します。 ターゲット オブジェクトは相互に継承する必要はありません。また、追加された順序で呼び出されます。

public void AddLocalRpcTarget(object target);
member this.AddLocalRpcTarget : obj -> unit
Public Sub AddLocalRpcTarget (target As Object)

パラメーター

target
Object

受信メッセージの受信時に呼び出すターゲット。

適用対象

AddLocalRpcTarget<T>(T, JsonRpcTargetOptions)

public void AddLocalRpcTarget<T>(T target, StreamJsonRpc.JsonRpcTargetOptions? options);
member this.AddLocalRpcTarget : 'T * StreamJsonRpc.JsonRpcTargetOptions -> unit
Public Sub AddLocalRpcTarget(Of T) (target As T, options As JsonRpcTargetOptions)

型パラメーター

T

パラメーター

target
T

適用対象