Share via


InvalidLoadProfileException Constructor (String)

Initializes a new instance of the InvalidLoadProfileException class with a specified message that describes the error.

Namespace:  Microsoft.VisualStudio.TestTools.LoadTesting
Assembly:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
public InvalidLoadProfileException(
    string message
)
public:
InvalidLoadProfileException(
    String^ message
)
new : 
        message:string -> InvalidLoadProfileException
public function InvalidLoadProfileException(
    message : String
)

Parameters

  • message
    Type: String

    The message that describes the exception. The caller of this constructor is required to make sure that this string has been localized for the current system culture.

Remarks

The following table shows the initial property values for an instance of InvalidLoadProfileException.

Property

Value

InnerException

nulla null reference (Nothing in Visual Basic).

Message

The error message string specified in message.

.NET Framework Security

See Also

Reference

InvalidLoadProfileException Class

InvalidLoadProfileException Overload

Microsoft.VisualStudio.TestTools.LoadTesting Namespace

Other Resources

Handling and Throwing Exceptions