CVB.Net 15.1
Loading...
Searching...
No Matches

A map of key/value pairs. More...

Inherits INativeHandle.

Inherited by Log, and Span.

Public Member Functions

virtual void Dispose (bool disposing)
 IDisposable helper function.
 
void Dispose ()
 IDisposable implementation.
 

Protected Member Functions

void Attribute (string name, string value)
 Adds a string attribute to the map.
 
void Attribute (string name, bool value)
 Adds a bool attribute to the map.
 
void Attribute (string name, long value)
 Adds a long attribute to the map.
 
void Attribute (string name, double value)
 Adds a double attribute to the map.
 
void SendData ()
 Sends the data.
 

Properties

bool IsEnabled [get]
 If this object is active.
 
IntPtr Handle [get]
 Native handle of the Module.
 
bool IsDisposed [get]
 Gets if the native handle has been disposed.
 

Events

NativeHandleEventDelegate ObjectDisposing
 Raised when this object is about to be disposed via the IDisposable.Dispose method.
 
- Events inherited from INativeHandle
NativeHandleEventDelegate ObjectDisposing
 Raised when this object is about to be disposed via the IDisposable.Dispose method.
 

Detailed Description

A map of key/value pairs.

Member Function Documentation

◆ Attribute() [1/4]

void Attribute ( string name,
bool value )
protected

Adds a bool attribute to the map.

Parameters
nameName/key of the attribute.
valueValue of the attribute.

◆ Attribute() [2/4]

void Attribute ( string name,
double value )
protected

Adds a double attribute to the map.

Parameters
nameName/key of the attribute.
valueValue of the attribute.

◆ Attribute() [3/4]

void Attribute ( string name,
long value )
protected

Adds a long attribute to the map.

Parameters
nameName/key of the attribute.
valueValue of the attribute.

◆ Attribute() [4/4]

void Attribute ( string name,
string value )
protected

Adds a string attribute to the map.

Parameters
nameName/key of the attribute.
valueValue of the attribute.

◆ Dispose()

virtual void Dispose ( bool disposing)
virtual

IDisposable helper function.

Parameters
disposing

Event Documentation

◆ ObjectDisposing

NativeHandleEventDelegate ObjectDisposing

Raised when this object is about to be disposed via the IDisposable.Dispose method.

This event is raised right before this object is disposed. The dispose itself cannot be canceled.