Share via


MetadataDeserializationOptions Class

Definition

Represents the set of options that are used during a metadata serialization action.

public class MetadataDeserializationOptions : ICloneable
type MetadataDeserializationOptions = class
    interface ICloneable
Public Class MetadataDeserializationOptions
Implements ICloneable
Inheritance
MetadataDeserializationOptions
Implements

Remarks

A MetadataDeserializationOptions instance is immutable; to set up the actual options, use the MetadataDeserializationOptionsBuilder class, or the WithXXX\WithoutXXX entension methods.

Properties

Compatibility

Gets an optional compatibility options that should be used when deserializing the metadata.

Default

Gets the default options for metadata deserialization activity.

RaiseErrorOnUnresolvedLinks

Gets an indication if errors are raised when unresolved links are detected in the deserialized metadata.

Explicit Interface Implementations

ICloneable.Clone()

Extension Methods

WithCompatibilityOptions(MetadataDeserializationOptions, MetadataCompatibilityOptions)

Sets the compatibility options that should be used during the serialization.

WithErrorOnUnresolvedLinks(MetadataDeserializationOptions)

Sets the indication that errors are raised when unresolved links are detected in the deserialized metadata.

WithoutCompatibilityOptions(MetadataDeserializationOptions)

Resets the compatibility options that should be used during the serialization, and restore the default options.

WithoutErrorOnUnresolvedLinks(MetadataDeserializationOptions)

Reset the indication errors are raised when unresolved links are detected in the deserialized metadata.

Applies to