ServiceRemotingDataContractSerializationProvider Class

Definition

This is the default implmentation for IServiceRemotingMessageSerializationProviderused by remoting service and client during request/response serialization . It used DataContract for serialization.

public class ServiceRemotingDataContractSerializationProvider : Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingMessageSerializationProvider
type ServiceRemotingDataContractSerializationProvider = class
    interface IServiceRemotingMessageSerializationProvider
Public Class ServiceRemotingDataContractSerializationProvider
Implements IServiceRemotingMessageSerializationProvider
Inheritance
ServiceRemotingDataContractSerializationProvider
Derived
Implements

Constructors

ServiceRemotingDataContractSerializationProvider()

Initializes a new instance of the ServiceRemotingDataContractSerializationProvider class with default IBufferPoolManager implementation.

ServiceRemotingDataContractSerializationProvider(IBufferPoolManager)

Initializes a new instance of the ServiceRemotingDataContractSerializationProvider class with specified IBufferPoolManager implementation.

Methods

CreateMessageBodyFactory()

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

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

CreateResponseMessageSerializer(Type, IEnumerable<Type>, IEnumerable<Type>)

Creates IServiceRemotingResponseMessageBodySerializer for a serviceInterface using DataContract implementation

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.

CreateXmlDictionaryWriter(Stream)

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

Applies to