public sealed class PresentationCapabilityRegistration : IDisposable Owns one capability registration until disposed.
Properties
Capability
public string Capability { get; } Gets the registered capability name, or an empty string after disposal.
Methods
Dispose
public void Dispose() Unregisters the capability. Later invocations of the name are no longer dispatched to its handler.
Remarks
Disposing more than once has no effect. A newer registration that replaced this one is not removed.