Udostępnij za pośrednictwem


WcfServiceRemotingProviderAttribute Class

Definition

This attributes allows to set WCF transport as the default service remoting transport provider in the assembly and customization for it.

[System.AttributeUsage(System.AttributeTargets.Assembly)]
public sealed class WcfServiceRemotingProviderAttribute : Microsoft.ServiceFabric.Services.Remoting.ServiceRemotingProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Assembly)>]
type WcfServiceRemotingProviderAttribute = class
    inherit ServiceRemotingProviderAttribute
Public NotInheritable Class WcfServiceRemotingProviderAttribute
Inherits ServiceRemotingProviderAttribute
Inheritance
WcfServiceRemotingProviderAttribute
Attributes

Constructors

WcfServiceRemotingProviderAttribute()

Initializes a new instance of the WcfServiceRemotingProviderAttribute class.

Properties

CloseTimeoutInMilliSeconds

Gets or Sets the timeout in milliseconds to wait before closing the connection to let existing messages drain.

MaxMessageSize

Gets or Sets the maximum message size that can be transferred over remoting.

OpenTimeoutInMilliSeconds

Gets or Sets the timeout in milliseconds for opening the connection from client side and waiting for the listener to open on the service side.

RemotingClientVersion

Gets or sets the version of the remoting client to use.

(Inherited from ServiceRemotingProviderAttribute)
RemotingListenerVersion

Gets or sets the version that the remoting listener to use.

(Inherited from ServiceRemotingProviderAttribute)

Methods

CreateServiceRemotingClientFactory(IServiceRemotingCallbackClient)

Creates a V1 service remoting client factory that can be used by the ServiceProxyFactory to create a proxy for the remoted interface of the service.

CreateServiceRemotingClientFactoryV2(IServiceRemotingCallbackMessageHandler)

Creates a service remoting client factory that can be used by the ServiceProxyFactory to create a proxy for the remoted interface of the service.

CreateServiceRemotingListener(ServiceContext, IService)

Creates a V1 service remoting listener for remoting the service interface.

CreateServiceRemotingListeners()

Returns the func method that creates the remoting listeners.

Applies to