ApplicationQueuingAttribute::MaxListenerThreads Property

 

Gets or sets the number of threads used to extract messages from the queue and activate the corresponding component.

Namespace:   System.EnterpriseServices
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

public:
property int MaxListenerThreads {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

The maximum number of threads to use for processing messages arriving in the queue. The default is zero.

The valid range for this property is 0 to 1000. The default is zero. For a newly created application, the setting is derived from the algorithm currently used for determining the default number of listener threads: 16 times the number of CPUs in the server.

For more information, see QcListenerMaxThreads in Applications (COM+).

The following code example gets and sets the value of an ApplicationQueuing attribute's MaxListenerThreads property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: