WcfActorRemotingClientFactory Constructors
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.
Overloads
WcfActorRemotingClientFactory(IServiceRemotingCallbackClient) |
Initializes a new instance of the WcfActorRemotingClientFactory class. |
WcfActorRemotingClientFactory(Binding, IServiceRemotingCallbackClient, IEnumerable<IExceptionHandler>, IServicePartitionResolver, String) |
Initializes a new instance of the WcfActorRemotingClientFactory class. |
WcfActorRemotingClientFactory(IServiceRemotingCallbackClient)
Initializes a new instance of the WcfActorRemotingClientFactory class.
public WcfActorRemotingClientFactory (Microsoft.ServiceFabric.Services.Remoting.V1.IServiceRemotingCallbackClient callbackClient);
new Microsoft.ServiceFabric.Actors.Remoting.V1.Wcf.Client.WcfActorRemotingClientFactory : Microsoft.ServiceFabric.Services.Remoting.V1.IServiceRemotingCallbackClient -> Microsoft.ServiceFabric.Actors.Remoting.V1.Wcf.Client.WcfActorRemotingClientFactory
Public Sub New (callbackClient As IServiceRemotingCallbackClient)
Parameters
- callbackClient
- Microsoft.ServiceFabric.Services.Remoting.V1.IServiceRemotingCallbackClient
The callback client that receives the callbacks from the service.
Applies to
WcfActorRemotingClientFactory(Binding, IServiceRemotingCallbackClient, IEnumerable<IExceptionHandler>, IServicePartitionResolver, String)
Initializes a new instance of the WcfActorRemotingClientFactory class.
public WcfActorRemotingClientFactory (System.ServiceModel.Channels.Binding clientBinding, Microsoft.ServiceFabric.Services.Remoting.V1.IServiceRemotingCallbackClient callbackClient, System.Collections.Generic.IEnumerable<Microsoft.ServiceFabric.Services.Communication.Client.IExceptionHandler> exceptionHandlers = default, Microsoft.ServiceFabric.Services.Client.IServicePartitionResolver servicePartitionResolver = default, string traceId = default);
new Microsoft.ServiceFabric.Actors.Remoting.V1.Wcf.Client.WcfActorRemotingClientFactory : System.ServiceModel.Channels.Binding * Microsoft.ServiceFabric.Services.Remoting.V1.IServiceRemotingCallbackClient * seq<Microsoft.ServiceFabric.Services.Communication.Client.IExceptionHandler> * Microsoft.ServiceFabric.Services.Client.IServicePartitionResolver * string -> Microsoft.ServiceFabric.Actors.Remoting.V1.Wcf.Client.WcfActorRemotingClientFactory
Public Sub New (clientBinding As Binding, callbackClient As IServiceRemotingCallbackClient, Optional exceptionHandlers As IEnumerable(Of IExceptionHandler) = Nothing, Optional servicePartitionResolver As IServicePartitionResolver = Nothing, Optional traceId As String = Nothing)
Parameters
- clientBinding
- Binding
WCF binding to use for the client. If the client binding is null, a default client binding is created using CreateTcpClientBinding(Int64, TimeSpan, TimeSpan) method which creates a NetTcpBinding with no security.
- callbackClient
- Microsoft.ServiceFabric.Services.Remoting.V1.IServiceRemotingCallbackClient
The callback client that receives the callbacks from the service.
- exceptionHandlers
- IEnumerable<IExceptionHandler>
Exception handlers to handle the exceptions encountered in communicating with the service.
- servicePartitionResolver
- IServicePartitionResolver
Service partition resolver to resolve the service endpoints. If not specified, a default service partition resolver returned by GetDefault() is used.
- traceId
- String
Id to use in diagnostics traces from this component.
Remarks
This factory uses WcfExceptionHandler, ServiceRemotingExceptionHandler and ActorRemotingExceptionHandler, in addition to the exception handlers supplied to the constructor.
Applies to
Azure SDK for .NET