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
stringThe message to use when throwing an exception because ThenBy is not supported.