IdentityModelEventSource.Write 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
Write(EventLevel, Exception, String) |
Writes an exception log by using the provided event identifer, exception argument, string argument and current UTC time. |
Write(EventLevel, Exception, String, Object[]) |
Writes an exception log by using the provided event identifer, exception argument, string argument, arguments list and current UTC time. |
Write(EventLevel, Exception, String)
Writes an exception log by using the provided event identifer, exception argument, string argument and current UTC time.
[System.Diagnostics.Tracing.NonEvent]
public void Write (System.Diagnostics.Tracing.EventLevel level, Exception innerException, string message);
[<System.Diagnostics.Tracing.NonEvent>]
override this.Write : System.Diagnostics.Tracing.EventLevel * Exception * string -> unit
Public Sub Write (level As EventLevel, innerException As Exception, message As String)
Parameters
- level
- EventLevel
- message
- String
The log message.
- Attributes
Applies to
Write(EventLevel, Exception, String, Object[])
Writes an exception log by using the provided event identifer, exception argument, string argument, arguments list and current UTC time.
[System.Diagnostics.Tracing.NonEvent]
public void Write (System.Diagnostics.Tracing.EventLevel level, Exception innerException, string message, params object[] args);
[<System.Diagnostics.Tracing.NonEvent>]
override this.Write : System.Diagnostics.Tracing.EventLevel * Exception * string * obj[] -> unit
Public Sub Write (level As EventLevel, innerException As Exception, message As String, ParamArray args As Object())
Parameters
- level
- EventLevel
- message
- String
The log message.
- args
- Object[]
An object array that contains zero or more objects to format.
- Attributes