Compartilhar via


SerializationResult Class

Represents a serialization result.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.SerializationResult

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaração
Public Class SerializationResult _
    Implements IEnumerable(Of SerializationMessage), IEnumerable
public class SerializationResult : IEnumerable<SerializationMessage>, 
    IEnumerable
public ref class SerializationResult : IEnumerable<SerializationMessage^>, 
    IEnumerable
type SerializationResult =  
    class
        interface IEnumerable<SerializationMessage>
        interface IEnumerable
    end
public class SerializationResult implements IEnumerable<SerializationMessage>, IEnumerable

The SerializationResult type exposes the following members.

Constructors

  Name Description
Public method SerializationResult Initializes a new instance of the SerializationResult class.

Top

Properties

  Name Description
Public property Encoding The encoding used during serialization
Public property Failed Gets or sets whether the serialization failed.

Top

Methods

  Name Description
Public method AddMessage Adds a message to a serialization result.
Public method Append Appends a result to the list of results.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Gets the enumerator that enumerates all stored serialization messages.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Gets an enumerator that enumerates all stored SerializationMessages.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Modeling Namespace