WcfActorRemotingProviderAttribute Class

Definition

Sets WCF as the default remoting provider for actors.

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

Constructors

WcfActorRemotingProviderAttribute()

Initializes a new instance of the WcfActorRemotingProviderAttribute class which can be used to set WCF as the default remoting provider for actors.

Properties

CloseTimeoutInMilliSeconds

Gets or Sets time to wait in milliseconds for messages to drain on the connections before aborting the connection.

MaxMessageSize

Gets or Sets the maximum size of the remoting message in bytes. If value for this property is not specified or it is less than or equals to zero, a default value of 4,194,304 bytes (4 MB) is used.

OpenTimeoutInMilliSeconds

Gets or Sets time to wait in milliseconds for opening the connection.

RemotingClientVersion

Gets or sets RemotingClientVersion to determine where V1 or V2 remoting Client is used.

(Inherited from ActorRemotingProviderAttribute)
RemotingListenerVersion

Gets or sets RemotingListenerVersion to determine where listener is in V1, V2 .

(Inherited from ActorRemotingProviderAttribute)

Methods

CreateServiceRemotingClientFactory(IServiceRemotingCallbackClient)

Creates a service remoting client factory to connect to the remoted actor interfaces.

CreateServiceRemotingClientFactory(IServiceRemotingCallbackMessageHandler)

Creates a V2 service remoting client factory to connect to the remoted actor interfaces.

CreateServiceRemotingListener(ActorService)

Creates a service remoting listener for remoting the actor interfaces.

CreateServiceRemotingListeners()

Creates a V2 service remoting listener for remoting the actor interfaces.

Applies to