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.

PrivateType Constructor (String, String)

 

Initializes a new instance of the PrivateType class.

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

public PrivateType(
	string assemblyName,
	string typeName
)

Parameters

assemblyName
Type: System.String

assembly name

typeName
Type: System.String

fully qualified name of the type

Exception Condition
ArgumentException

assemblyName or typeName is null or empty.

Return to top
Show: