Opalis Quick Integration Kit 3.0
This attribute declares that a class that has already been marked as an OpalisObject should be run as a monitor object.

Namespace:  Opalis.QuickIntegrationKit
Assembly:  Opalis.QuickIntegrationKit(in Opalis.QuickIntegrationKit.dll) Version: 3.0.0.0 (3.1.0.1)

Syntax

C#
public 
sealed 
class 
OpalisMonitorAttribute : 
Attribute
Visual Basic (Declaration)
Public 
NotInheritable 
Class 
OpalisMonitorAttribute _
	
Inherits 
Attribute
Visual C++
public 
ref class 
OpalisMonitorAttribute 
sealed : 
public 
Attribute

Remarks

Monitor objects, unlike standard task objects will be invoked repeatedly until the workflow that contains them is stopped. Furthermore, your object will be kept alive until the workflow is stopped which means that that any state information will be maintained between subsequent invocations.

Examples

CopyC#
[OpalisObject(
"Monitor Computer")]
[OpalisMonitor(Interval=
15)]
public 
class MonitorComputer
{

private IPAddress computer;

	[OpalisInput(
"Hostname or Adress")]

public IPAddress Computer
	{
		set { computer = value; }
}

	[OpalisOutput]
	IPStatus Status
	{
		get { 
new
Ping().Send(computer).Status; }
}
}

Inheritance Hierarchy

System . . :: . Object
   System . . :: . Attribute
     Opalis.QuickIntegrationKit . . :: . OpalisMonitorAttribute

See Also