Partilhar via


UndeclaredTemplateReferenceException Constructor (String, String)

Initializes a new UndeclaredTemplateReferenceException object with the error message and the name of the reference that was not found.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

'Usage
Dim referenceName As String
Dim message As String

Dim instance As New UndeclaredTemplateReferenceException(referenceName, message)

Syntax

'Declaration
Public Sub New ( _
    referenceName As String, _
    message As String _
)
public UndeclaredTemplateReferenceException (
    string referenceName,
    string message
)
public:
UndeclaredTemplateReferenceException (
    String^ referenceName, 
    String^ message
)
public UndeclaredTemplateReferenceException (
    String referenceName, 
    String message
)
public function UndeclaredTemplateReferenceException (
    referenceName : String, 
    message : String
)

Parameters

  • referenceName
    The name of the reference that was not found.
  • message
    The Exception instance that caused the current exception.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also

Reference

UndeclaredTemplateReferenceException Class
UndeclaredTemplateReferenceException Members
Microsoft.EnterpriseManagement.Common Namespace

Send comments about this topic to Microsoft.