A Sandcastle Documented Class Library

# ILogger LogWarning Method (String, Int32, String, Object )

Logs a message at the Warning level.

Namespace: Dundas.BI
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    void LogWarning(
    	string channel,
    	int messageId,
    	string message,
    	params Object[] arguments
    )

    Sub LogWarning (
    	channel As String,
    	messageId As Integer,
    	message As String,
    	ParamArray arguments As Object()
    )

    void LogWarning(
    	String^ channel,
    	int messageId,
    	String^ message,
    	... array<Object^>^ arguments
    )

    abstract LogWarning :
            channel : string *
            messageId : int *
            message : string *
            arguments : Object[] -> unit

#### Parameters

channel
  Type: System
  String
  The log channel.
messageId
  Type: System
  Int32
  The identifier of the message (a.k.a "event ID").
message
  Type: System
  String
  A composite format string.
arguments
  Type:
  System
  Object
  An object array that contains zero or more objects to format.

Remarks
This method is guaranteed to never throw an exception. If the parameters are invalid, a message to that effect will be logged to the Windows event log.
See Also

#### Reference

ILogger Interface
LogWarning Overload
Dundas.BI Namespace