Udostępnij za pośrednictwem


ResourceNotFoundEventArgs Class

Definition

Provides information about a failed attempt to retrieve a resource.

public ref class ResourceNotFoundEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.ApplicationModel.Resources.MrtContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ResourceNotFoundEventArgs final
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.ApplicationModel.Resources.MrtCoreContract, 65536)]
class ResourceNotFoundEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.ApplicationModel.Resources.MrtContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ResourceNotFoundEventArgs
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.ApplicationModel.Resources.MrtCoreContract), 65536)]
public sealed class ResourceNotFoundEventArgs
Public NotInheritable Class ResourceNotFoundEventArgs
Inheritance
Object Platform::Object IInspectable ResourceNotFoundEventArgs
Attributes

Properties

Context

Gets the ResourceContext in which the resource was not found.

Name

Gets the name of the resource that was not found.

Methods

SetResolvedCandidate(ResourceCandidate)

Specify a ResourceCandidate to be used when the requested candidate is not found.

Applies to