CommunicationBlockingAppSetAsActiveTrigger Class
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.
Represents a trigger to activate a communication blocking application when it is selected as the preferred blocking app.
A user can have multiple communication blocking applications installed at one time. This trigger is used to let an application know that it has been selected as the active communication blocking application. For more information about the communication blocking API, see Windows.ApplicationModel.CommunicationBlocking.
public ref class CommunicationBlockingAppSetAsActiveTrigger sealed : IBackgroundTrigger
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CommunicationBlockingAppSetAsActiveTrigger final : IBackgroundTrigger
[Windows.Foundation.Metadata.Activatable(65536, "Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CommunicationBlockingAppSetAsActiveTrigger : IBackgroundTrigger
function CommunicationBlockingAppSetAsActiveTrigger()
Public NotInheritable Class CommunicationBlockingAppSetAsActiveTrigger
Implements IBackgroundTrigger
- Inheritance
- Attributes
- Implements
Windows requirements
Device family |
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
|
API contract |
Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract (introduced in v1.0)
|
Constructors
CommunicationBlockingAppSetAsActiveTrigger() |
Initializes a new instance of the CommunicationBlockingAppSetAsActiveTrigger. |