Share via


Logging.Info Method (String, String, Object[])

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

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)

Syntax

public static void Info(
    string appName,
    string format,
    params object[] parameters
)
Public Shared Sub Info (
    appName As String,
    format As String,
    ParamArray parameters As Object()
)

Parameters

  • appName
    Type: System.String

    Specifies the name to give for the application.

  • format
    Type: System.String

    Specifies the format of the message.

  • parameters
    Type: System.Object[]

    Specifies the parameters to be substituted into the string format.

Exceptions

Exception 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.

See Also

Info Overload
Logging Class
Microsoft.Uii.Common.Logging Namespace

Return to top

Unified Service Desk 2.0

© 2016 Microsoft. All rights reserved. Copyright