SerializationResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |