Lingua

IdentityModelEventSource.WriteError Metodo

Definizione

Overload

Nome Descrizione
WriteError(String)

Scrive un registro eventi di errore usando l'argomento stringa specificato e l'ora UTC corrente.

WriteError(String, Object[])

Scrive un registro eventi di errore usando l'argomento stringa specificato, l'ora UTC corrente e l'elenco di argomenti forniti.

WriteError(String)

Scrive un registro eventi di errore usando l'argomento stringa specificato e l'ora UTC corrente.

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

Parametri

message
String

Messaggio di log.

Attributi

Si applica a

WriteError(String, Object[])

Scrive un registro eventi di errore usando l'argomento stringa specificato, l'ora UTC corrente e l'elenco di argomenti forniti.

[System.Diagnostics.Tracing.NonEvent]
public void WriteError(string message, params object[] args);
[<System.Diagnostics.Tracing.NonEvent>]
member this.WriteError : string * obj[] -> unit
Public Sub WriteError (message As String, ParamArray args As Object())

Parametri

message
String

Messaggio di log.

args
Object[]

Matrice di oggetti contenente zero o più oggetti da formattare.

Attributi

Si applica a