|
<< Click to Display Table of Contents >> Navigation: Reference > BNCS.Core.DriverFramework Namespace > BncsFramework Class > BncsFramework Methods > GetInstanceParameter Method > BncsFramework.GetInstanceParameter Method (String, String, Boolean) |
Retrieves an instance parameter based on the specified instance ID and parameter name.
Namespace: BNCS.Core.DriverFramework
Assembly: BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)
public static Nullable<IBNCSInstanceParameter> GetInstanceParameter(
string instanceId,
string parameterName,
Boolean clone
)
instanceId
Type: String
The unique identifier of the instance.
parameterName
Type: String
The name of the parameter to retrieve.
clone
Type: Boolean
Indicates whether to return a cloned instance of the parameter. Default is true.
An IBNCSInstanceParameter object representing the instance parameter, or null if the parameter is not found.
Condition |
|
|---|---|
[KeyNotFoundException] |
Thrown when the specified parameter is not found in either the managed or monitored instance parameters. |
BNCS.Core.DriverFramework Namespace