다음을 통해 공유


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
Public method SerializationMessage() Constructor
Public method SerializationMessage(SerializationMessageKind, String, String, Int32, Int32, array<KeyValuePair<String, Object>[]) Constructor.

Top

Properties

  Name Description
Public property Column Column number of the message.
Public property Kind Kind of the message.
Public property Line Line number of the message.
Public property Location The location of the source of this message. Usually a file path, but can be other string (including null) as well.
Public property Message Message string.

Top

Methods

  Name Description
Public method AddProperty Add additional properties to the message.
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 GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetProperty Gets the value of a property, keyed by the given name.
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 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.

See Also

Reference

Microsoft.VisualStudio.Modeling Namespace