共用方式為


ActorRemotingWrappingDataContractSerializationProvider Class

Definition

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

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

Constructors

ActorRemotingWrappingDataContractSerializationProvider()

Initializes a new instance of the ActorRemotingWrappingDataContractSerializationProvider class with default IBufferPoolManager

ActorRemotingWrappingDataContractSerializationProvider(IBufferPoolManager)

Initializes a new instance of the ActorRemotingWrappingDataContractSerializationProvider 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 Wrapped Message DataContract Remoting Types. This is used to create Remoting Request/Response objects.

(Inherited from WrappingServiceRemotingDataContractSerializationProvider)
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

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

Creates IServiceRemotingResponseMessageBodySerializer for a serviceInterface using Wrapped Message DataContract implementation

(Inherited from WrappingServiceRemotingDataContractSerializationProvider)
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 WrappingServiceRemotingDataContractSerializationProvider)
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 WrappingServiceRemotingDataContractSerializationProvider)

Applies to