ResourceNotFoundEventArgs 类

定义

提供有关检索资源失败的尝试的信息。

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
继承
Object Platform::Object IInspectable ResourceNotFoundEventArgs
属性

属性

Context

获取找不到资源的 ResourceContext

Name

获取未找到的资源的名称。

方法

SetResolvedCandidate(ResourceCandidate)

指定在找不到请求的候选项时要使用的 ResourceCandidate

适用于