共用方式為


Gate.WaitForGateClose(Int32) Method

Definition

Waits until the gate is closed.

public abstract void WaitForGateClose (int timeout);
abstract member WaitForGateClose : int -> unit
Public MustOverride Sub WaitForGateClose (timeout As Integer)

Parameters

timeout
Int32

Maximum number of milliseconds to wait until the gate is closed before it returns control back to the application. If WaitForever is defined, the method waits as long as needed until the gate is closed or an error occurs.

Applies to