Поделиться через


ILogging.Warn Method

Logs a warning message.

Namespace: Microsoft.Uii.Common.Logging
Assembly: Microsoft.Uii.Common.Logging (in Microsoft.Uii.Common.Logging.dll)

Usage

'Usage
Dim instance As ILogging
Dim applicationName As String
Dim message As String

instance.Warn(applicationName, message)

Syntax

'Declaration
Sub Warn ( _
    applicationName As String, _
    message As String _
)
void Warn (
    string applicationName,
    string message
)
void Warn (
    String^ applicationName, 
    String^ message
)
void Warn (
    String applicationName, 
    String message
)
function Warn (
    applicationName : String, 
    message : String
)

Parameters

  • applicationName
    Specifies the application name used in the log.
  • message
    Specifies the message used in the log.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

ILogging Interface
ILogging Members
Microsoft.Uii.Common.Logging Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.