SerializationMessage Class
Represents a serialization message.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.SerializationMessage
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
声明
Public Class SerializationMessage
public class SerializationMessage
public ref class SerializationMessage
type SerializationMessage = class end
public class SerializationMessage
The SerializationMessage type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SerializationMessage() | Constructor | |
SerializationMessage(SerializationMessageKind, String, String, Int32, Int32, array<KeyValuePair<String, Object>[]) | Constructor. |
Top
Properties
Name | Description | |
---|---|---|
Column | Column number of the message. | |
Kind | Kind of the message. | |
Line | Line number of the message. | |
Location | The location of the source of this message. Usually a file path, but can be other string (including null) as well. | |
Message | Message string. |
Top
Methods
Name | Description | |
---|---|---|
AddProperty | Add additional properties to the message. | |
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.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetProperty | Gets the value of a property, keyed by the given name. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | ToString(). (Overrides Object.ToString().) |
Top
Remarks
A serialization method includes the message type, message, location, and message properties.
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.