Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Displays messages that are useful, but do not represent a problem.
Namespace: Microsoft.Uii.Common.Logging
Assembly: Microsoft.Uii.Common.Logging (in Microsoft.Uii.Common.Logging.dll)
Usage
'Usage
Dim appName As String
Dim format As String
Dim parameters As Object()
Logging.Info(appName, format, parameters)
Syntax
'Declaration
Public Shared Sub Info ( _
appName As String, _
format As String, _
ParamArray parameters As Object() _
)
public static void Info (
string appName,
string format,
params Object[] parameters
)
public:
static void Info (
String^ appName,
String^ format,
... array<Object^>^ parameters
)
public static void Info (
String appName,
String format,
Object[] parameters
)
public static function Info (
appName : String,
format : String,
... parameters : Object[]
)
Parameters
- appName
Specifies the name to give for the application.
- format
Specifies the format of the message.
- parameters
Specifies the parameters to be substituted into the string format.
Exceptions
Exception type | Condition |
---|---|
ConfigurationErrorsException | Configuration-related exceptions are wrapped in this common exception type. |
InvalidOperationException | Logging listeners are not permitted to call methods of the Logging class. |
Remarks
It only displays when the TraceSwitch is assigned TraceInfo. It takes the string passed in and sends it to any trace listener. It also will display it in a list control if one has been made available or in the various logs.
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
Logging Class
Logging Members
Microsoft.Uii.Common.Logging Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.