Share via


UndeclaredTemplateReferenceException Constructor (String, String, Exception)

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

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim referenceName As String
Dim message As String
Dim innerException As Exception

Dim instance As New UndeclaredTemplateReferenceException(referenceName, message, innerException)

Syntax

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

Parameters

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

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

UndeclaredTemplateReferenceException Class
UndeclaredTemplateReferenceException Members
Microsoft.EnterpriseManagement.Common Namespace