다음을 통해 공유


ServiceRemotingDataContractSerializationProvider.CreateRequestMessageSerializer Method

Definition

Creates IServiceRemotingRequestMessageBodySerializer for a serviceInterface using DataContract implementation

public Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingRequestMessageBodySerializer CreateRequestMessageSerializer (Type serviceInterfaceType, System.Collections.Generic.IEnumerable<Type> methodParameterTypes, System.Collections.Generic.IEnumerable<Type> wrappedMessageTypes = default);
abstract member CreateRequestMessageSerializer : Type * seq<Type> * seq<Type> -> Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingRequestMessageBodySerializer
override this.CreateRequestMessageSerializer : Type * seq<Type> * seq<Type> -> Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingRequestMessageBodySerializer
Public Function CreateRequestMessageSerializer (serviceInterfaceType As Type, methodParameterTypes As IEnumerable(Of Type), Optional wrappedMessageTypes As IEnumerable(Of Type) = Nothing) As IServiceRemotingRequestMessageBodySerializer

Parameters

serviceInterfaceType
Type

The remoted service interface.

methodParameterTypes
IEnumerable<Type>

The union of parameter types of all of the methods of the specified interface.

wrappedMessageTypes
IEnumerable<Type>

Wrapped Request Types for all Methods

Returns

An instance of the IServiceRemotingRequestMessageBodySerializer that can serialize the service remoting request message body to a messaging body for transferring over the transport.

Implements

Applies to