DiagnosticsInformation Class

Definition

Represents diagnostics information.

public ref class DiagnosticsInformation : System::Runtime::Serialization::ISerializable
[Serializable]
public class DiagnosticsInformation : System.Runtime.Serialization.ISerializable
type DiagnosticsInformation = class
    interface ISerializable
Public Class DiagnosticsInformation
Implements ISerializable
Inheritance
DiagnosticsInformation
Attributes
SerializableAttribute
Implements

Constructors

DiagnosticsInformation(Int32, String, String, DiagnosticVisibility)

Creates an instance of Diagnostics Information with given diagnostics details.

DiagnosticsInformation(SerializationInfo, StreamingContext)

Creates a new instance of the DiagnosticsInformation class with serialized data.

Properties

Description

Gets the diagnostics description.

ErrorCode

Gets the diagnostics error code.

Reason

Gets the diagnostics reason.

Visibility

Gets the diagnostics visibility.

Methods

AddAttribute(String, String)

Adds additional application specific attribute to the diagnostics information.

GetAttributes()

Gets a copy of all the attributes.

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the object.

Applies to