Resolves a single component instance with a given component id.
Namespace:
Gallio.Runtime.ExtensibilityAssembly: Gallio (in Gallio.dll) Version: 3.2.0.0 (3.2.570.0)
Syntax
| C# |
|---|
Object ResolveByComponentId( string componentId ) |
| Visual Basic (Declaration) |
|---|
Function ResolveByComponentId ( _ componentId As String _ ) As Object |
Parameters
- componentId
- Type: System..::.String
The component id.
Return Value
The component instance.
Exceptions
| Exception | Condition |
|---|---|
| Gallio.Runtime..::.RuntimeException | Thrown if no component was found or if a component could not be resolved. |
| System..::.ArgumentNullException | Thrown if componentId is null. |
