EventHandlerCreationInformation.CancelOnError 屬性
取得或設定 Boolean 值,指出是否有錯誤引發此事件時,應該預設取消前的事件。
命名空間: Microsoft.ProjectServer.Client
組件: Microsoft.ProjectServer.Client (在 Microsoft.ProjectServer.Client.dll 中)
語法
'宣告
<RemoteAttribute> _
Public Property CancelOnError As Boolean
Get
Set
'用途
Dim instance As EventHandlerCreationInformation
Dim value As Boolean
value = instance.CancelOnError
instance.CancelOnError = value
[RemoteAttribute]
public bool CancelOnError { get; set; }
屬性值
類型:System.Boolean
True如果有錯誤 ; 時,應該預設取消前事件否則,請False。
請參閱
參照
EventHandlerCreationInformation 類別