System.Messaging Reference (Document! X Sample)



The component to copy from.
CopyFromComponent Method
When overridden in a derived class, copies all the properties that are required at install time from the specified component.
Syntax
'Declaration
 
Public Overrides Sub CopyFromComponent( _
   ByVal component As IComponent _
) 
'Usage
 
Dim instance As MessageQueueInstaller
Dim component As IComponent
 
instance.CopyFromComponent(component)
public override void CopyFromComponent( 
   IComponent component
)
public:
void CopyFromComponent( 
   IComponent^ component
) override 

Parameters

component
The component to copy from.
Exceptions
ExceptionDescription
The component associated with this MessageQueueInstaller is not a MessageQueue.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also