【发布时间】:2017-02-09 19:13:18
【问题描述】:
wcfServiceObject:this 行给出了错误cannot convert from ... to ...。
return new[] { new ServiceReplicaListener((context) =>
new WcfCommunicationListener<IShoppingCartService>(
wcfServiceObject:this,
serviceContext:context,
//
// The name of the endpoint configured in the ServiceManifest under the Endpoints section
// that identifies the endpoint that the WCF ServiceHost should listen on.
//
endpointResourceName: "WcfServiceEndpoint",
//
// Populate the binding information that you want the service to use.
//
listenerBinding: WcfUtility.CreateTcpListenerBinding()
)
)};
我该如何解决这个问题?
【问题讨论】:
标签: wcf azure-service-fabric service-fabric-stateful