ServiceBrokerClient.Rental<T>.Proxy Property

Definition

Gets the client proxy.

public:
 property T Proxy { T get(); };
public T? Proxy { get; }
member this.Proxy : 'T
Public ReadOnly Property Proxy As T

Property Value

T

Exceptions

Thrown if this instance has not been initialized.

Thrown if this instance has been disposed (after being initialized).

Remarks

This value should NOT be disposed directly since it can be shared across invocations of the GetProxyAsync<T>(ServiceRpcDescriptor, CancellationToken) method.

Applies to