MessageEnumerator.Close Método
Definição
Libera os recursos associados ao enumerador.Frees the resources associated with the enumerator.
public:
void Close();
public void Close ();
member this.Close : unit -> unit
Public Sub Close ()
Comentários
O sistema operacional retém um identificador aberto para a fila durante o tempo de vida do cursor.The operating system retains an open handle to the queue during the lifetime of the cursor. Quando você terminar de trabalhar com o enumerador, chame Close para liberar os recursos associados ao identificador.When you have finished working with the enumerator, call Close to release the resources associated with the handle.