Compartilhar via


IdentityModelEventSource.WriteWarning Method

Definition

Overloads

WriteWarning(String)

Writes a warning event log by using the provided string argument and current UTC time.

WriteWarning(String, Object[])

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

WriteWarning(String)

Writes a warning event log by using the provided string argument and current UTC time.

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

Parameters

message
String

The log message.

Attributes

Applies to

WriteWarning(String, Object[])

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

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