AdhocInstance Constructor

<< Click to Display Table of Contents >>

Navigation:  Reference > BNCS.Core.DriverFramework.Classes Namespace > AdhocInstance Class >

AdhocInstance Constructor

Constructor for creating an AdhocInstance object

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

 

Syntax


public AdhocInstance(
 string id,
 uint deviceId,
 bool composite,
 bool managed,
 uint offset,
 string instanceType,
 string alt_Id,
 string location
)

Parameters

id

Type: String
The unique identifier for the instance

deviceId

Type: UInt32
The device ID associated with the instance

composite

Type: Boolean
A boolean indicating if the instance is composite

managed

Type: Boolean
A boolean indicating if the instance is managed

offset

Type: UInt32
The offset value for the instance (default is 0)

instanceType

Type: String
The type of the instance (default is null)

alt_Id

Type: String
An alternate identifier for the instance (default is null)

location

Type: String
The location of the instance (default is null)

 

See Also


AdhocInstance Class

BNCS.Core.DriverFramework.Classes Namespace