MessageEnumerator.Close 方法

定義

釋放與列舉值相關的資源。

public:
 void Close();
public void Close ();
member this.Close : unit -> unit
Public Sub Close ()

備註

操作系統會在數據指標存留期期間保留佇列的開啟句柄。 當您完成使用列舉值時,請呼叫 Close 以釋放與句柄相關聯的資源。

適用於

另請參閱