C# Класс NServiceBus.SerializationContextExtensions

Allows users to control serialization.
Показать файл Открыть проект

Открытые методы

Метод Описание
ShouldSkipSerialization ( this context ) : bool

The serializer should skip serializing the message.

SkipSerialization ( this context ) : void

Requests the serializer to skip serializing the message.

This can be used by an extension point needs to take control of the serialization. For example the Callbacks implementation that skips serialization and instead uses headers for passing the enum or int value.

Описание методов

ShouldSkipSerialization() публичный статический Метод

The serializer should skip serializing the message.
public static ShouldSkipSerialization ( this context ) : bool
context this
Результат bool

SkipSerialization() публичный статический Метод

Requests the serializer to skip serializing the message.
This can be used by an extension point needs to take control of the serialization. For example the Callbacks implementation that skips serialization and instead uses headers for passing the enum or int value.
public static SkipSerialization ( this context ) : void
context this
Результат void