Sdílet prostřednictvím


IAsyncInfo.Close Method

Definition

Closes the asynchronous operation.

public:
 void Close();
void Close();
public void Close();
function close()
Public Sub Close ()

Remarks

Calling this method indicates that you have finished with the asynchronous action or operation, and it is permitted to free any associated resources. After calling Close, you may not call any methods or access any properties of the object that implements the IAsyncInfo interface.

You may not call Close before the asynchronous action or operation has completed.

Applies to

See also