Editare

Partajați prin


EnumerationOptions.ReturnImmediately Property

Definition

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.

public:
 property bool ReturnImmediately { bool get(); void set(bool value); };
public bool ReturnImmediately { get; set; }
member this.ReturnImmediately : bool with get, set
Public Property ReturnImmediately As Boolean

Property Value

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

Remarks

Property Value

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

.NET Framework Security

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.

Applies to