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

IServiceRemotingCallbackContract 接口

定义

定义必须实现的接口,以便从 wcf 远程处理侦听器向客户端提供回调机制。

[System.ServiceModel.ServiceContract(Namespace="urn:ServiceFabric.Communication")]
public interface IServiceRemotingCallbackContract
[<System.ServiceModel.ServiceContract(Namespace="urn:ServiceFabric.Communication")>]
type IServiceRemotingCallbackContract = interface
Public Interface IServiceRemotingCallbackContract
属性

方法

RequestResponseAsync(ServiceRemotingMessageHeaders, Byte[])

向客户端发送消息并获取响应。

SendOneWay(ServiceRemotingMessageHeaders, Byte[])

向客户端发送单向消息。

适用于