你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ActorEventProxy 类

定义

为代理提供基本实现,以便在执行组件事件订阅服务器上调用方法。

public abstract class ActorEventProxy : Microsoft.ServiceFabric.Services.Remoting.Builder.ProxyBase
type ActorEventProxy = class
    inherit ProxyBase
Public MustInherit Class ActorEventProxy
Inherits ProxyBase
继承
ActorEventProxy

构造函数

ActorEventProxy()

初始化 ActorEventProxy 类的新实例。

方法

CheckIfItsWrappedRequest(IServiceRemotingRequestMessageBody)

此检查是否包装远程处理邮件。

(继承自 ProxyBase)
ContinueWith(Task<Object>)

此方法由生成的代理类型使用,应直接使用。 此方法将具有对象返回值的 Task 转换为不带 void 方法调用的返回值的 Task。

(继承自 ProxyBase)
ContinueWithResultV2<TRetval>(Int32, Int32, Task<IServiceRemotingResponseMessageBody>)

由生成的代理类调用,以从响应正文获取结果。

(继承自 ProxyBase)
CreateRequestMessageBodyV2(String, String, Int32, Object)

创建远程处理请求消息正文

GetReturnValue(Int32, Int32, Object)

此方法由生成的代理类型使用,应直接使用。 此方法将具有对象返回值的 Task 转换为没有 void 方法调用的返回值的任务

(继承自 ProxyBase)
InvokeAsyncV2(Int32, Int32, String, IServiceRemotingRequestMessageBody, CancellationToken)

由生成的代理类调用,以将请求发送到远程对象并获取响应。

(继承自 ProxyBase)
InvokeV2(Int32, Int32, IServiceRemotingRequestMessageBody)

由生成的代理类调用,以将 requestMessage 发送到远程对象。

(继承自 ProxyBase)

适用于