Language

KeyClient.Dispose Method

Definition

Releases the HTTP pipeline resources owned by this client.

public virtual void Dispose();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Overridable Sub Dispose ()

Implements

Remarks

Reuse the client for its intended lifetime and dispose it after its operations, including long-running operations and pageable enumeration, have completed. Cryptography clients created by GetCryptographyClient(String, String) share this client's pipeline and must no longer be used after disposal. Caller-provided transports and credentials are not disposed.

Applies to