共用方式為


WrappingServiceRemotingDataContractSerializationProvider Class

Definition

This is the implmentation for IServiceRemotingMessageSerializationProviderused by remoting service and client during request/response serialization . It uses request Wrapping and data contract for serialization.

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

Constructors

WrappingServiceRemotingDataContractSerializationProvider()

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

WrappingServiceRemotingDataContractSerializationProvider(IBufferPoolManager)

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

Methods

CreateMessageBodyFactory()

Creates a MessageFactory for Wrapped Message 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 Wrapped Message DataContract implementation

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

Creates IServiceRemotingResponseMessageBodySerializer for a serviceInterface using Wrapped Message 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