BncsFramework.GetParamFromSource Method

<< 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)

 

Syntax


public static Nullable<IBNCSInstanceParameter> GetParamFromSource(
 Guid sourceId
)

Parameters

sourceId

Type: Guid
The unique identifier of the source.

Return Value

The IBNCSInstanceParameter associated with the source.

 

Exceptions


Exception

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.

 

See Also


BncsFramework Class

BNCS.Core.DriverFramework Namespace