SerializationResult Class

Definition

Serialization Result

public ref class SerializationResult : System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::SerializationMessage ^>
public class SerializationResult : System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.SerializationMessage>
type SerializationResult = class
    interface seq<SerializationMessage>
    interface IEnumerable
Public Class SerializationResult
Implements IEnumerable(Of SerializationMessage)
Inheritance
SerializationResult
Implements

Constructors

SerializationResult()

Constructor

Properties

Encoding

The encoding used during serialization

Failed

returns true if the serialization failed, which means at least 1 of the messages has Error kind.

Methods

AddMessage(SerializationMessage)

Add a message.

Append(SerializationResult)

Append a serialization result to this one (i.e. copy all messages over).

GetEnumerator()

Gets an enumerator that enumerates all stored SerializationMessages.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Gets an enumerator that enumerates all stored SerializationMessages.

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)

Return this enumeration in case it is not null. In case it is null return empty enumeration.

Applies to