ServiceProxy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides the base implementation for the proxy to the remoted IService interfaces.
public abstract class ServiceProxy : Microsoft.ServiceFabric.Services.Remoting.Builder.ProxyBase, Microsoft.ServiceFabric.Services.Remoting.Client.IServiceProxy
type ServiceProxy = class
inherit ProxyBase
interface IServiceProxy
Public MustInherit Class ServiceProxy
Inherits ProxyBase
Implements IServiceProxy
- Inheritance
- Implements
Constructors
ServiceProxy() |
Properties
ServiceInterfaceType |
Gets the interface type that is being remoted. |
ServicePartitionClient2 |
Gets the V2 Service partition client used to send requests to the service. |
Methods
CheckIfItsWrappedRequest(IServiceRemotingRequestMessageBody) |
This check if we are wrapping remoting message or not. (Inherited from ProxyBase) |
ContinueWith(Task<Object>) |
This method is used by the generated proxy type and should be used directly. This method converts the Task with object return value to a Task without the return value for the void method invocation. (Inherited from ProxyBase) |
ContinueWithResultV2<TRetval>(Int32, Int32, Task<IServiceRemotingResponseMessageBody>) |
Called by the generated proxy class to get the result from the response body. (Inherited from ProxyBase) |
Create<TServiceInterface>(Uri, ServicePartitionKey, TargetReplicaSelector, String) |
Creates a proxy to communicate to the specified service using the remoted interface TServiceInterface that the service implements. |
CreateRequestMessageBodyV2(String, String, Int32, Object) |
Creates the Remoting request message Body (Inherited from ProxyBase) |
GetReturnValue(Int32, Int32, Object) |
This method is used by the generated proxy type and should be used directly. This method converts the Task with object return value to a Task without the return value for the void method invocation (Inherited from ProxyBase) |
InvokeAsyncV2(Int32, Int32, String, IServiceRemotingRequestMessageBody, CancellationToken) |
Called by the generated proxy class to send the request to the remote object and get the response back. (Inherited from ProxyBase) |
InvokeV2(Int32, Int32, IServiceRemotingRequestMessageBody) |
Called by the generated proxy class to send the requestMessage to the remote object. (Inherited from ProxyBase) |