Udostępnij za pośrednictwem


IdentityModelEventSource.WriteAlways Method

Definition

Overloads

WriteAlways(String, Object[])

Writes an event log by using the provided string argument, current UTC time and the provided arguments list.

WriteAlways(String)

Writes an event log by using the provided string argument and current UTC time. No level filtering is done on the event.

WriteAlways(String, Object[])

Writes an event log by using the provided string argument, current UTC time and the provided arguments list.

[System.Diagnostics.Tracing.NonEvent]
public void WriteAlways (string message, params object[] args);
[<System.Diagnostics.Tracing.NonEvent>]
member this.WriteAlways : string * obj[] -> unit
Public Sub WriteAlways (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

Applies to

WriteAlways(String)

Writes an event log by using the provided string argument and current UTC time. No level filtering is done on the event.

[System.Diagnostics.Tracing.Event(6, Level=System.Diagnostics.Tracing.EventLevel.LogAlways)]
public void WriteAlways (string message);
[<System.Diagnostics.Tracing.Event(6, Level=System.Diagnostics.Tracing.EventLevel.LogAlways)>]
member this.WriteAlways : string -> unit
Public Sub WriteAlways (message As String)

Parameters

message
String

The log message.

Attributes

Remarks

No level filtering.

Applies to