Bagikan melalui


TestExecutionEventArgs.MethodInfo Property

Gets the method that is called.

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

Syntax

'Declaration
Public ReadOnly Property MethodInfo As MethodInfo
public MethodInfo MethodInfo { get; }
public:
property MethodInfo^ MethodInfo {
    MethodInfo^ get ();
}
member MethodInfo : MethodInfo with get
function get MethodInfo () : MethodInfo

Property Value

Type: MethodInfo
The method that is called.

.NET Framework Security

See Also

Reference

TestExecutionEventArgs Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace