WrappingServiceRemotingDataContractSerializationProvider.CreateRequestMessageSerializer Method
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
- 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
An instance of the IServiceRemotingRequestMessageBodySerializer that can serialize the service remoting request message body to a messaging body for transferring over the transport.
Azure SDK for .NET feedback
Azure SDK for .NET is an open source project. Select a link to provide feedback: