ServiceProcessInstaller.CopyFromComponent(IComponent) 方法

定义

在没有 CopyFromComponent(IComponent) 类特定行为的情况下实现基类 ServiceProcessInstaller 方法。Implements the base class CopyFromComponent(IComponent) method with no ServiceProcessInstaller class-specific behavior.

public:
 override void CopyFromComponent(System::ComponentModel::IComponent ^ comp);
public override void CopyFromComponent (System.ComponentModel.IComponent comp);
override this.CopyFromComponent : System.ComponentModel.IComponent -> unit
Public Overrides Sub CopyFromComponent (comp As IComponent)

参数

comp
IComponent

表示服务进程的 IComponentThe IComponent that represents the service process.

注解

不应在代码中调用此方法。This method should not be called within your code. 上的基类方法 ComponentInstallerabstract ,因此它是在派生类上实现的。The base class method on ComponentInstaller is abstract, so it is implemented here on the derived class. 但是, ServiceProcessInstaller 方法的实现中没有特定于类的处理方式。However, there is no ServiceProcessInstaller class-specific processing in the method's implementation.

适用于

另请参阅