EventHandlerCreationInformation.CancelOnError property
取得或設定布林值,指出是否為引發事件的錯誤時,應該預設取消前的事件。
Namespace: Microsoft.ProjectServer.Client
Assembly: Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)
Syntax
'宣告
<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; }
Property value
Type: System.Boolean
True如果前的事件應該取消預設情況下,當發生錯誤 ;否則, False。
請參閱
參照
EventHandlerCreationInformation class