BncsFramework.DeleteManagedDeviceAdhocParameter Method

<< Click to Display Table of Contents >>

Navigation:  Reference > BNCS.Core.DriverFramework Namespace > BncsFramework Class > BncsFramework Methods >

BncsFramework.DeleteManagedDeviceAdhocParameter Method

Deletes an ad-hoc parameter from a managed device instance.

Namespace: BNCS.Core.DriverFramework
Assembly:  BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)

 

Syntax


public static bool DeleteManagedDeviceAdhocParameter(
 string instanceId,
 string parameterName
)

Parameters

instanceId

Type: String
The unique identifier of the instance from which the parameter will be deleted.

parameterName

Type: String
The name of the parameter to be deleted.

Return Value

Returns true if the parameter was successfully deleted; otherwise, false.

 

Exceptions


Exception

Condition

KeyNotFoundException

Instance {instanceId} not found

KeyNotFoundException

Could not locate instance NMOS Device ID

ArgumentException

Parameter {parameterName} is not defined for this instance.

Exception

Parameter is not an AdhocParameter

 

See Also


BncsFramework Class

BNCS.Core.DriverFramework Namespace