语言

ManagementOptions 类

定义

为所有选项对象提供抽象基类。

public ref class ManagementOptions abstract : ICloneable
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))]
public abstract class ManagementOptions : ICloneable
[<System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))>]
type ManagementOptions = class
    interface ICloneable
Public MustInherit Class ManagementOptions
Implements ICloneable
继承
ManagementOptions
派生
特性
实现

字段

名称 说明
InfiniteTimeout

指示不应发生超时。

属性

名称 说明
Context

获取或设置 WMI 上下文对象。 这是要传递给 WMI 提供程序的名称/值对列表,该提供程序支持自定义操作的上下文信息。

Timeout

获取或设置要应用于操作的超时。 请注意,对于返回集合的操作,此超时适用于通过生成的集合的枚举,而不是操作本身(该 ReturnImmediately 属性用于后者)。 此属性用于指示应以半同步方式执行操作。

方法

名称 说明
Clone()

返回对象的副本。

Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type。

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于