Freigeben über


PolicyEvaluationException-Konstruktor (String)

Initializes a new instance of the PolicyEvaluationException class that has the specified message text.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String 

Dim instance As New PolicyEvaluationException(message)
public PolicyEvaluationException(
    string message
)
public:
PolicyEvaluationException(
    String^ message
)
new : 
        message:string -> PolicyEvaluationException
public function PolicyEvaluationException(
    message : String
)

Parameter

  • message
    Typ: System.String
    A String value that specifies the message text that describes the event that caused the exception.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Beispiele

Behandeln von SMO-Ausnahmen

Siehe auch

Verweis

PolicyEvaluationException Klasse

PolicyEvaluationException-Überladung

Microsoft.SqlServer.Management.Dmf-Namespace