Partager via


ConditionalRuleException Constructor (String, Exception)

Initializes a new instance of the ConditionalRuleException class by using the specified message an inner exception.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
public ConditionalRuleException(
    string message,
    Exception innerException
)
public:
ConditionalRuleException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> ConditionalRuleException
public function ConditionalRuleException(
    message : String, 
    innerException : Exception
)

Parameters

  • message
    Type: String

    The message.

  • innerException
    Type: Exception

    The inner exception data.

.NET Framework Security

See Also

Reference

ConditionalRuleException Class

ConditionalRuleException Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace