Compartilhar via


LoggingSmtp Class

 

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

The logging class to write messages to an Smpt server.

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

Inheritance Hierarchy

System.Object
  Microsoft.Uii.Common.Logging.Providers.LoggingSmtp

Syntax

public class LoggingSmtp : ILogging
Public Class LoggingSmtp
    Implements ILogging

Constructors

Name Description
System_CAPS_pubmethod LoggingSmtp()

Initializes a new instance of the LoggingSmtp class.

Properties

Name Description
System_CAPS_pubproperty ShowErrors

Gets or sets a Boolean value that specifies whether errors are shown.

System_CAPS_pubproperty Tag

Gets or sets user-defined data associated with the object.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod Error(String, String, String)

Logs an error message.

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Information(String, String)

Logs an informational message.

System_CAPS_pubmethod Initialize(String, NameValueCollection)

Initializes the logging listener

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod Trace(String, String)

Logs a trace message.

System_CAPS_pubmethod Warn(String, String)

Logs a warning message.

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.

See Also

Microsoft.Uii.Common.Logging.Providers Namespace

Return to top

Unified Service Desk 2.0

© 2016 Microsoft. All rights reserved. Copyright