|
<< Click to Display Table of Contents >> Navigation: Reference > BNCS.Core.DriverFramework Namespace > BncsFramework Class > BncsFramework Methods > BncsFramework.GetParamFromSource Method |
Retrieves an IBNCSInstanceParameter from a source identified by a GUID.
Namespace: BNCS.Core.DriverFramework
Assembly: BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)
public static Nullable<IBNCSInstanceParameter> GetParamFromSource(
Guid sourceId
)
sourceId
Type: Guid
The unique identifier of the source.
The IBNCSInstanceParameter associated with the source.
Condition |
|
|---|---|
[KeyNotFoundException] |
Thrown when the sourceId is not found, the instance is not found, or the parameter is not found. |
[ArgumentException] |
Thrown when the DeviceId of the source is not a valid GUID. |
BNCS.Core.DriverFramework Namespace