IdentityModelEventSource.WriteCritical Method
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
WriteCritical(String) |
Writes a critical event log by using the provided string argument and current UTC time. |
WriteCritical(String, Object[]) |
Writes a critical event log by using the provided string argument, current UTC time and the provided arguments list. |
WriteCritical(String)
Writes a critical event log by using the provided string argument and current UTC time.
[System.Diagnostics.Tracing.Event(5, Level=System.Diagnostics.Tracing.EventLevel.Critical)]
public void WriteCritical (string message);
[<System.Diagnostics.Tracing.Event(5, Level=System.Diagnostics.Tracing.EventLevel.Critical)>]
member this.WriteCritical : string -> unit
Public Sub WriteCritical (message As String)
Parameters
- message
- String
The log message.
- Attributes
Applies to
WriteCritical(String, Object[])
Writes a critical event log by using the provided string argument, current UTC time and the provided arguments list.
[System.Diagnostics.Tracing.NonEvent]
public void WriteCritical (string message, params object[] args);
[<System.Diagnostics.Tracing.NonEvent>]
member this.WriteCritical : string * obj[] -> unit
Public Sub WriteCritical (message As String, ParamArray args As Object())
Parameters
- message
- String
The log message.
- args
- Object[]
An object array that contains zero or more objects to format.
- Attributes