Share via


InvalidLoadProfileException Constructor

Initializes a new instance of the InvalidLoadProfileException class with a system-supplied 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
public InvalidLoadProfileException()
public:
InvalidLoadProfileException()
new : unit -> InvalidLoadProfileException
public function InvalidLoadProfileException()

Remarks

This constructor initializes the Message property of the new instance to a system-supplied message that describes the error, such as DefaultMessageDisplayedByParameterlessCtorWriterMustSupply. This message considers the current system culture.

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

Property

Value

InnerException

nulla null reference (Nothing in Visual Basic)

Message

The localized error message string.

.NET Framework Security

See Also

Reference

InvalidLoadProfileException Class

InvalidLoadProfileException Overload

Microsoft.VisualStudio.TestTools.LoadTesting Namespace

Other Resources

Handling and Throwing Exceptions