DynamicDataAttribute.ITestDataSourceEmptyDataSourceExceptionInfo.GetPropertyOrMethodNameForEmptyDataSourceException Method

Definition

Returns the method/property name accessed by this data source. For example, for DynamicDataAttribute, that will be the attribute argument.

string? ITestDataSourceEmptyDataSourceExceptionInfo.GetPropertyOrMethodNameForEmptyDataSourceException();
abstract member Microsoft.VisualStudio.TestTools.UnitTesting.ITestDataSourceEmptyDataSourceExceptionInfo.GetPropertyOrMethodNameForEmptyDataSourceException : unit -> string
override this.Microsoft.VisualStudio.TestTools.UnitTesting.ITestDataSourceEmptyDataSourceExceptionInfo.GetPropertyOrMethodNameForEmptyDataSourceException : unit -> string
Function GetPropertyOrMethodNameForEmptyDataSourceException () As String Implements ITestDataSourceEmptyDataSourceExceptionInfo.GetPropertyOrMethodNameForEmptyDataSourceException

Returns

The name of the member that produced the (empty) data, or null if unknown.

Implements

Applies to