ValidationRequestedEventArgs 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供有关事件的信息 OnValidationRequested 。
public ref class ValidationRequestedEventArgs sealed : EventArgs
public sealed class ValidationRequestedEventArgs : EventArgs
type ValidationRequestedEventArgs = class
inherit EventArgs
Public NotInheritable Class ValidationRequestedEventArgs
Inherits EventArgs
- 继承
-
ValidationRequestedEventArgs
构造函数
| 名称 | 说明 |
|---|---|
| ValidationRequestedEventArgs() |
创建 ValidationRequestedEventArgs的新实例。 |
字段
| 名称 | 说明 |
|---|---|
| Empty |
获取共享的 ValidationRequestedEventArgs空实例 。 |
方法
| 名称 | 说明 |
|---|---|
| AddAsyncValidator(Func<CancellationToken,Task>) |
注册要作为当前验证传递的一部分运行的异步验证并等待。 |