Share via


ServiceActivationOptions.ClientRpcTarget Property

Definition

Gets or sets an RPC target that the client offers to the requested service so the service can invoke members on the client.

public:
 property System::Object ^ ClientRpcTarget { System::Object ^ get(); void set(System::Object ^ value); };
[Newtonsoft.Json.JsonIgnore]
[System.Runtime.Serialization.IgnoreDataMember]
public object? ClientRpcTarget { get; set; }
[Newtonsoft.Json.JsonIgnore]
[System.Runtime.Serialization.IgnoreDataMember]
[System.Text.Json.Serialization.JsonIgnore]
public object? ClientRpcTarget { [System.Runtime.CompilerServices.IsReadOnly] get; set; }
[<Newtonsoft.Json.JsonIgnore>]
[<System.Runtime.Serialization.IgnoreDataMember>]
member this.ClientRpcTarget : obj with get, set
[<Newtonsoft.Json.JsonIgnore>]
[<System.Runtime.Serialization.IgnoreDataMember>]
[<System.Text.Json.Serialization.JsonIgnore>]
[<get: System.Runtime.CompilerServices.IsReadOnly>]
member this.ClientRpcTarget : obj with get, set
Public Property ClientRpcTarget As Object

Property Value

Attributes

Remarks

This object is never serialized. If the service is available locally this object is made available directly to the service. If the service is remote, the remote service broker client such as RemoteServiceBroker should set this object as the local RPC target when setting up an RPC connection, and the service-side should set up a proxy for this object based on the type given in ClientInterface.

Applies to