LoggingEventArgs Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LoggingEventArgs(String) |
Initializes a new instance of the LoggingEventArgs class. |
LoggingEventArgs(String, ChannelMessageKind, String) |
Initializes a new instane of LoggingEventArgs class that includes the kind and source of the message |
LoggingEventArgs(String)
Initializes a new instance of the LoggingEventArgs class.
public LoggingEventArgs (string message);
new Microsoft.ML.LoggingEventArgs : string -> Microsoft.ML.LoggingEventArgs
Public Sub New (message As String)
Parameters
- message
- String
The message being logged.
Applies to
LoggingEventArgs(String, ChannelMessageKind, String)
Initializes a new instane of LoggingEventArgs class that includes the kind and source of the message
public LoggingEventArgs (string message, Microsoft.ML.Runtime.ChannelMessageKind kind, string source);
new Microsoft.ML.LoggingEventArgs : string * Microsoft.ML.Runtime.ChannelMessageKind * string -> Microsoft.ML.LoggingEventArgs
Public Sub New (message As String, kind As ChannelMessageKind, source As String)
Parameters
- message
- String
The message being logged
- kind
- ChannelMessageKind
The type of message ChannelMessageKind
- source
- String
The source of the message