RevocationAndRenewalInformation class

Applies to Windows and Windows Phone

Contains information about components that need to be revoked and renewed.

Syntax


Public NotInheritable Class RevocationAndRenewalInformation

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06020000)]

Members

The RevocationAndRenewalInformation class has these types of members:

Methods

The RevocationAndRenewalInformation class inherits methods from the Object class (C#/VB/C++).

Properties

The RevocationAndRenewalInformation class has these properties.

PropertyAccess typeDescription

Items

Read-onlyReturns a list of components that need to be revoked and renewed with updated components.

 

Remarks

An instance of this object is returned by the ComponentLoadFailedEventArgs.Information property.

Examples

This example shows a ComponentLoadFailedEventHandler. A loop iterates through the failed components. And RenewSystemComponentsAsync is invoked. Note that the RevocationAndRenewalInformation is passed in through the ComponentLoadFailedEventArgs.


function ComponentLoadFailed(e) {

    for (var i = 0; i < e.information.items.size; i++) {
        LogMessage('Component Name=' + 
                    e.information.items[i].name + 
                    '<BR/>');
        LogMessage('Failure Reason=' + 
                    e.information.items[i].reasons.toString(16) + 
                    '<BR/>');
        LogMessage('Renewal GUID=' + 
                    e.information.items[i].renewalId + 
                    '<BR/>');
    }

    //  Invoke the revocation               
    ComponentRenewal.renewSystemComponentsAsync(e.information).then(
        function (r) {
            LogMessage("RenewSystemComponentsAsync: " + 
                        r.toString() + 
                        '<BR/>');

            e.completion.complete(false);
        }
    );
};

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media.Protection
Windows::Media::Protection [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft