Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ExpectedExceptionAttribute::ExceptionType Property

 

Gets the expected exception type.

Namespace:   Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

public:
property Type^ ExceptionType {
	[CompilerGeneratedAttribute]
	Type^ get();
	[CompilerGeneratedAttribute]
	private: void set(Type^ value);
}

Property Value

Type: System::Type^

A Type object.

Return to top
Show: