命名空间: Microsoft.VisualStudio.TestTools.Execution
程序集: Microsoft.VisualStudio.QualityTools.ExecutionCommon(在 Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 中)
语法
声明
Public Sub New ( _
defaultConfiguration As XmlElement, _
configuration As XmlElement, _
isEnabled As Boolean, _
roleContext As RoleContext _
)
public DataCollectorSettings(
XmlElement defaultConfiguration,
XmlElement configuration,
bool isEnabled,
RoleContext roleContext
)
public:
DataCollectorSettings(
XmlElement^ defaultConfiguration,
XmlElement^ configuration,
bool isEnabled,
RoleContext^ roleContext
)
new :
defaultConfiguration:XmlElement *
configuration:XmlElement *
isEnabled:bool *
roleContext:RoleContext -> DataCollectorSettings
public function DataCollectorSettings(
defaultConfiguration : XmlElement,
configuration : XmlElement,
isEnabled : boolean,
roleContext : RoleContext
)
参数
- defaultConfiguration
类型:System.Xml.XmlElement
- configuration
类型:System.Xml.XmlElement
- isEnabled
类型:System.Boolean
- roleContext
类型:Microsoft.VisualStudio.TestTools.Execution.RoleContext
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。