private void Initialize()
{
m_startNodeId = null;
m_relativePath = null;
m_clientHandle = 0;
m_attributeId = Attributes.Value;
m_indexRange = null;
m_encoding = null;
m_monitoringMode = MonitoringMode.Reporting;
m_samplingInterval = -1;
m_filter = null;
m_queueSize = 0;
m_discardOldest = true;
m_attributesModified = true;
m_status = new MonitoredItemStatus();
// this ensures the state is consistent with the node class.
NodeClass = NodeClass.Variable;
// assign a unique handle.
m_clientHandle = Utils.IncrementIdentifier(ref s_GlobalClientHandle);
}
#endregion