Language

CryptographyClient.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

Dispose the client after its operations have completed. Clients created by a KeyClient or KeyResolver borrow their creator's pipeline and do not dispose it. Keep the creator alive until all use of the returned client has completed. Caller-provided transports and credentials are not disposed. Local-only clients do not own an HTTP pipeline.

Applies to