private void Initialize(string theComputerName, CimSession theCimSession, string theNameSpace, string theQueryDialect, string theQueryExpression, uint theOpreationTimeout) { this.enableRaisingEvents = false; this.status = CimIndicationWatcher.Status.Default; this.myLock = new object(); this.cimRegisterCimIndication = new CimRegisterCimIndication(); this.cimRegisterCimIndication.OnNewSubscriptionResult += new EventHandler <CimSubscriptionEventArgs>(this.NewSubscriptionResultHandler); this.cimSession = theCimSession; this.nameSpace = theNameSpace; this.queryDialect = ConstValue.GetQueryDialectWithDefault(theQueryDialect); this.queryExpression = theQueryExpression; this.opreationTimeout = theOpreationTimeout; this.computerName = theComputerName; }
private void Initialize(string theComputerName, CimSession theCimSession, string theNameSpace, string theQueryDialect, string theQueryExpression, uint theOpreationTimeout) { this.enableRaisingEvents = false; this.status = CimIndicationWatcher.Status.Default; this.myLock = new object(); this.cimRegisterCimIndication = new CimRegisterCimIndication(); this.cimRegisterCimIndication.OnNewSubscriptionResult += new EventHandler<CimSubscriptionEventArgs>(this.NewSubscriptionResultHandler); this.cimSession = theCimSession; this.nameSpace = theNameSpace; this.queryDialect = ConstValue.GetQueryDialectWithDefault(theQueryDialect); this.queryExpression = theQueryExpression; this.opreationTimeout = theOpreationTimeout; this.computerName = theComputerName; }
/// <summary> /// <para> /// Initialize /// </para> /// </summary> private void Initialize( string theComputerName, CimSession theCimSession, string theNameSpace, string theQueryDialect, string theQueryExpression, UInt32 theOperationTimeout) { enableRaisingEvents = false; status = Status.Default; myLock = new object(); cimRegisterCimIndication = new CimRegisterCimIndication(); cimRegisterCimIndication.OnNewSubscriptionResult += NewSubscriptionResultHandler; this.cimSession = theCimSession; this.nameSpace = theNameSpace; this.queryDialect = ConstValue.GetQueryDialectWithDefault(theQueryDialect); this.queryExpression = theQueryExpression; this.operationTimeout = theOperationTimeout; this.computerName = theComputerName; }
/// <summary> /// <para> /// Initialize /// </para> /// </summary> private void Initialize( string theComputerName, CimSession theCimSession, string theNameSpace, string theQueryDialect, string theQueryExpression, UInt32 theOpreationTimeout) { enableRaisingEvents = false; status = Status.Default; myLock = new object(); cimRegisterCimIndication = new CimRegisterCimIndication(); cimRegisterCimIndication.OnNewSubscriptionResult += NewSubscriptionResultHandler; this.cimSession = theCimSession; this.nameSpace = theNameSpace; this.queryDialect = ConstValue.GetQueryDialectWithDefault(theQueryDialect); this.queryExpression = theQueryExpression; this.opreationTimeout = theOpreationTimeout; this.computerName = theComputerName; }