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

IServiceRemotingContract 接口

定义

定义 WCF 服务远程处理协定的接口。

[System.ServiceModel.ServiceContract(CallbackContract=typeof(Microsoft.ServiceFabric.Services.Remoting.V2.Wcf.IServiceRemotingCallbackContract), Namespace="urn:ServiceFabric.Communication")]
public interface IServiceRemotingContract
[<System.ServiceModel.ServiceContract(CallbackContract=typeof(Microsoft.ServiceFabric.Services.Remoting.V2.Wcf.IServiceRemotingCallbackContract), Namespace="urn:ServiceFabric.Communication")>]
type IServiceRemotingContract = interface
Public Interface IServiceRemotingContract
属性

方法

OneWayMessage(ArraySegment<Byte>, IEnumerable<ArraySegment<Byte>>)

向客户端发送单向消息。

RequestResponseAsync(ArraySegment<Byte>, IEnumerable<ArraySegment<Byte>>)

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

适用于