Table of Contents

Struct SdamInformationEvent

Namespace
MongoDB.Driver.Core.Events
Assembly
MongoDB.Driver.Core.dll

An informational event used for logging Server Discovery and Monitoring (SDAM) events.

public struct SdamInformationEvent
Inherited Members

Constructors

SdamInformationEvent(string, object)

Initializes a new instance of the SdamInformationEvent struct.

public SdamInformationEvent(string messageFormat, object arg0)

Parameters

messageFormat string

Message format.

arg0 object

Message argument.

SdamInformationEvent(string, params object[])

Initializes a new instance of the SdamInformationEvent struct.

public SdamInformationEvent(string messageFormat, params object[] args)

Parameters

messageFormat string

Message format.

args object[]

Message arguments.

Properties

Message

Gets the message.

public string Message { get; }

Property Value

string

Timestamp

Gets the timestamp.

public DateTime Timestamp { get; }

Property Value

DateTime

Methods

ToString()

public override string ToString()

Returns

string