Skip to content

ScratchFilterResult.Detach method

Transfers the scratch allocation and its exact-once return authority to an opaque owner. Disposing this result after a successful detach is a no-op; the detached owner must be disposed to release the image and return the original lease.

public DetachedScratchSurface? Detach()