共用方式為


SerializationMessage Class

Definition

An object that wraps the information of a serialization message, including message kind, message string, location, etc.

public ref class SerializationMessage
public class SerializationMessage
type SerializationMessage = class
Public Class SerializationMessage
Inheritance
SerializationMessage

Constructors

SerializationMessage()

Constructor

SerializationMessage(SerializationMessageKind, String, String, Int32, Int32, KeyValuePair<String,Object>[])

Constructor.

Properties

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.

Methods

AddProperty(String, Object)

Add additional properties to the message.

GetProperty(String)

Gets the value of a property, keyed by the given name.

ToString()

ToString().

Applies to