Aracılığıyla paylaş


JsonRpc.AddLocalRpcTarget Yöntem

Tanım

Aşırı Yüklemeler

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

Gelen iletiler alındığında çağrılmak üzere belirtilen hedefi mümkün olduğunca ekler. Hedef nesne birbirinden devralmamalıdır ve eklendikleri sırayla çağrılır.

AddLocalRpcTarget(Object)

Gelen iletiler alındığında çağrılmak üzere belirtilen hedefi mümkün olduğunca ekler. Hedef nesne birbirinden devralmamalıdır ve eklendikleri sırayla çağrılır.

AddLocalRpcTarget<T>(T, JsonRpcTargetOptions)

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)

Parametreler

exposingMembersOn
Type
target
Object

Özel durumlar

sonra StartListening() çağrılır AllowModificationWhileListening ve ise falseoluşturulur.

Şunlara uygulanır

AddLocalRpcTarget(Object, JsonRpcTargetOptions)

Gelen iletiler alındığında çağrılmak üzere belirtilen hedefi mümkün olduğunca ekler. Hedef nesne birbirinden devralmamalıdır ve eklendikleri sırayla çağrılır.

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)

Parametreler

target
Object

Gelen iletiler alındığında çağrılmayı hedefle.

options
JsonRpcTargetOptions

Hedef nesnenin nasıl kaydedildiğiyle ilgili özelleştirme kümesi. ise null, varsayılan seçenekler kullanılır.

Şunlara uygulanır

AddLocalRpcTarget(Object)

Gelen iletiler alındığında çağrılmak üzere belirtilen hedefi mümkün olduğunca ekler. Hedef nesne birbirinden devralmamalıdır ve eklendikleri sırayla çağrılır.

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

Parametreler

target
Object

Gelen iletiler alındığında çağrılmayı hedefle.

Şunlara uygulanır

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ür Parametreleri

T

Parametreler

target
T

Şunlara uygulanır