Table of Contents

Constructor IOrderedEnumerableSerializer

Namespace
MongoDB.Bson.Serialization.Serializers
Assembly
MongoDB.Bson.dll

IOrderedEnumerableSerializer(IBsonSerializer<TItem>, string)

Initializes a new instance of IOrderedEnumerableSerializer.

public IOrderedEnumerableSerializer(IBsonSerializer<TItem> itemSerializer, string thenByExceptionMessage)

Parameters

itemSerializer IBsonSerializer<TItem>

The item serializer.

thenByExceptionMessage string

The message to use when throwing an exception because ThenBy is not supported.