LatencyContextOptions.ThrowOnUnregisteredNames 属性

定义

获取或设置一个值,该值指示在使用未注册的名称时是否引发异常。

public:
 property bool ThrowOnUnregisteredNames { bool get(); void set(bool value); };
public bool ThrowOnUnregisteredNames { get; set; }
member this.ThrowOnUnregisteredNames : bool with get, set
Public Property ThrowOnUnregisteredNames As Boolean

属性值

true 如果 ILatencyContext API 在使用未注册的名称时引发,则为 。 false 如果它没有操作,则为 。 默认值为 false

适用于