TestMethodInvokerContext.TestMethodInfo Property
Gets the MethodInfo of the test method.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property TestMethodInfo As MethodInfo
public abstract MethodInfo TestMethodInfo { get; }
public:
virtual property MethodInfo^ TestMethodInfo {
MethodInfo^ get () abstract;
}
abstract TestMethodInfo : MethodInfo
abstract function get TestMethodInfo () : MethodInfo
Property Value
Type: System.Reflection.MethodInfo
The MethodInfo of the test method.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
TestMethodInvokerContext Class