| EAPUtilLoadComponent Method (String, String, String, String, AppDomain, Boolean) | 
 
            Load a component DLL into the specified AppDomain.
            
 
    Namespace: 
   NetQuarry
    Assembly:
   EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
 Syntax
Syntaxpublic static Object LoadComponent(
	string assemblyPathAndName,
	string className,
	string interfaceName,
	string componentType,
	AppDomain domain,
	bool okIfNotFound
)
Public Shared Function LoadComponent ( 
	assemblyPathAndName As String,
	className As String,
	interfaceName As String,
	componentType As String,
	domain As AppDomain,
	okIfNotFound As Boolean
) As Object
Parameters
- assemblyPathAndName
- Type: SystemString
 The assembly in which the component resides.
- className
- Type: SystemString
 The class to load.
- interfaceName
- Type: SystemString
 The interface to access.
- componentType
- Type: SystemString
 The type of component, e.g. "eventhandler", for improved error messages.
- domain
- Type: SystemAppDomain
 The domain into which to load.
- okIfNotFound
- Type: SystemBoolean
 When set a null object will be returned if the component could not be loaded for any reason.
            When not set, an appropriate AssemblyLoadFail exception will be thrown if the component could not be loaded for any reason.
Return Value
Type: 
ObjectAn instance of the requested class or null
 See Also
See Also