Share via


Tracing.Error Method

Represents the tracing error.

Namespace: Microsoft.WindowsAzure.Common.Internals
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Usage

'Usage
Dim invocationId As String
Dim ex As Exception

Tracing.Error(invocationId, ex)

Syntax

'Declaration
Public Shared Sub Error ( _
    invocationId As String, _
    ex As Exception _
)
public static void Error (
    string invocationId,
    Exception ex
)
public:
static void Error (
    String^ invocationId, 
    Exception^ ex
)
public static void Error (
    String invocationId, 
    Exception ex
)
public static function Error (
    invocationId : String, 
    ex : Exception
)

Parameters

  • invocationId
    The invocation identifier.
  • ex
    The tracing exception.

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

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

Tracing Class
Tracing Members
Microsoft.WindowsAzure.Common.Internals Namespace