KeyClient.Dispose Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.