ResourceNotFoundEventArgs.SetResolvedCandidate(ResourceCandidate) 方法

定义

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

public:
 virtual void SetResolvedCandidate(ResourceCandidate ^ candidate) = SetResolvedCandidate;
void SetResolvedCandidate(ResourceCandidate const& candidate);
public void SetResolvedCandidate(ResourceCandidate candidate);
function setResolvedCandidate(candidate)
Public Sub SetResolvedCandidate (candidate As ResourceCandidate)

参数

candidate
ResourceCandidate

要使用的 ResourceCandidate ,而不是请求的候选项。

适用于