ProxyBase Class

Definition

The base class used by remoting code generator to generate the proxy for the remoted interfaces.

public abstract class ProxyBase
type ProxyBase = class
Public MustInherit Class ProxyBase
Inheritance
ProxyBase
Derived

Constructors

ProxyBase()

Initializes a new instance of the ProxyBase class.

Methods

ContinueWith(Task<Object>)

Called by the generated proxy class to continue after getting the response body that does not have value.

ContinueWithResult<TRetval>(Int32, Int32, Task<Object>)

Called by the generated proxy class to get the result from the response body.

ContinueWithResultV2<TRetval>(Task<IServiceRemotingResponseMessageBody>)

Called by the generated proxy class to get the result from the response body.

CreateRequestMessageBodyV2(String, String, Int32)

Creates the Remoting request message Body

GetReturnValue(Int32, Int32, Object)

Implemented by the derived class to type cast the response body and extract the value from it.

Invoke(Int32, Int32, Object)

Called by the generated proxy class to send the message to the remote object.

InvokeAsync(Int32, Int32, Object, CancellationToken)

Called by the generated proxy class to send the request to the remote object and get the response back.

InvokeAsyncV2(Int32, Int32, IServiceRemotingRequestMessageBody, CancellationToken)

Called by the generated proxy class to send the request to the remote object and get the response back.

InvokeV2(Int32, Int32, IServiceRemotingRequestMessageBody)

Called by the generated proxy class to send the requestMessage to the remote object.

Applies to