WrappingServiceRemotingDataContractSerializationProvider.CreateRequestMessageSerializer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates IServiceRemotingRequestMessageBodySerializer for a serviceInterface using Wrapped Message 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.