Share via


BaseShadow Constructor (PrivateObject)

Initializes a new instance of the BaseShadow class.

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

Syntax

'Declaration
Protected Sub New ( _
    privateTarget As PrivateObject _
)
protected BaseShadow(
    PrivateObject privateTarget
)
protected:
BaseShadow(
    PrivateObject^ privateTarget
)
new : 
        privateTarget:PrivateObject -> BaseShadow
protected function BaseShadow(
    privateTarget : PrivateObject
)

Parameters

Remarks

This constructor is meant for derived classes and assumes that the caller has created the PrivateObject instance and consumes it.

.NET Framework Security

See Also

Reference

BaseShadow Class

BaseShadow Overload

Microsoft.VisualStudio.TestTools.UnitTesting Namespace