EnumerationOptions.ReturnImmediately Property

 

Gets or sets a value indicating whether the invoked operation should be performed in a synchronous or semisynchronous fashion. If this property is set to true, the enumeration is invoked and the call returns immediately. The actual retrieval of the results will occur when the resulting collection is walked.

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

public bool ReturnImmediately { get; set; }

Property Value

Type: System.Boolean

Returns a Boolean value indicating whether the invoked operation should be performed in a synchronous or semisynchronous fashion.

true if the invoked operation should be performed in a synchronous or semisynchronous fashion; otherwise, false. The default value is true.

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

.NET Framework
Available since 1.1
Return to top
Show: