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
'Déclaration
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 | |
---|---|---|
SerializationResult | Initializes a new instance of the SerializationResult class. |
Top
Properties
Name | Description | |
---|---|---|
Encoding | The encoding used during serialization | |
Failed | Gets or sets whether the serialization failed. |
Top
Methods
Name | Description | |
---|---|---|
AddMessage | Adds a message to a serialization result. | |
Append | Appends a result to the list of results. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator | Gets the enumerator that enumerates all stored serialization messages. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
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.