LifetimeServices 构造函数

定义

注意

Do not create instances of the LifetimeServices class. Call the static methods directly on this type instead

注意

Call the static methods directly on this type instead

创建 LifetimeServices的实例。Creates an instance of LifetimeServices.

public:
 LifetimeServices();
public LifetimeServices ();
[System.Obsolete("Do not create instances of the LifetimeServices class.  Call the static methods directly on this type instead", true)]
public LifetimeServices ();
[System.Obsolete("Call the static methods directly on this type instead", true)]
public LifetimeServices ();
Public Sub New ()
属性

适用于