ActorRemotingDataContractSerializationProvider Class

Definition

This is the default implmentation for IServiceRemotingMessageSerializationProviderused by actor remoting. It uses DataContractSerializer for serialization of remoting request and response message bodies.

public class ActorRemotingDataContractSerializationProvider : Microsoft.ServiceFabric.Services.Remoting.V2.ServiceRemotingDataContractSerializationProvider
type ActorRemotingDataContractSerializationProvider = class
    inherit ServiceRemotingDataContractSerializationProvider
Public Class ActorRemotingDataContractSerializationProvider
Inherits ServiceRemotingDataContractSerializationProvider
Inheritance
ActorRemotingDataContractSerializationProvider

Constructors

ActorRemotingDataContractSerializationProvider()

Initializes a new instance of the ActorRemotingDataContractSerializationProvider class. with default IBufferPoolManager

ActorRemotingDataContractSerializationProvider(IBufferPoolManager)

Initializes a new instance of the ActorRemotingDataContractSerializationProvider class. with user specified IBufferPoolManager.If the specified buffer pool manager is null, the buffer pooling will be turned off.

Methods

CreateMessageBodyFactory()

Creates a MessageFactory for DataContract Remoting Types. This is used to create Remoting Request/Response objects.

(Inherited from ServiceRemotingDataContractSerializationProvider)
CreateRemotingRequestMessageBodyDataContractSerializer(Type, IEnumerable<Type>)

Gets the settings used to create DataContractSerializer for serializing and de-serializing request message body.

CreateRemotingResponseMessageBodyDataContractSerializer(Type, IEnumerable<Type>)

Gets the settings used to create DataContractSerializer for serializing and de-serializing request message body.

CreateRequestMessageSerializer(Type, IEnumerable<Type>, IEnumerable<Type>)

Creates IServiceRemotingRequestMessageBodySerializer for a serviceInterface using DataContract implementation

(Inherited from ServiceRemotingDataContractSerializationProvider)
CreateResponseMessageSerializer(Type, IEnumerable<Type>, IEnumerable<Type>)

Creates IServiceRemotingResponseMessageBodySerializer for a serviceInterface using DataContract implementation

(Inherited from ServiceRemotingDataContractSerializationProvider)
CreateXmlDictionaryReader(Stream)

Create the reader to read from the input stream. Use this method to customize how the serialized contents are read from the stream.

(Inherited from ServiceRemotingDataContractSerializationProvider)
CreateXmlDictionaryWriter(Stream)

Create the writer to write to the stream. Use this method to customize how the serialized contents are written to the stream.

(Inherited from ServiceRemotingDataContractSerializationProvider)

Applies to