이 설명서는 보관되지만 유지 되지 않습니다.

Activity.Canceling 이벤트

Occurs when the activity execution is canceled.

네임스페이스: System.Workflow.ComponentModel
어셈블리: System.Workflow.ComponentModel(system.workflow.componentmodel.dll)

public event EventHandler<ActivityExecutionStatusChangedEventArgs> Canceling
/** @event */
public void add_Canceling (EventHandler<ActivityExecutionStatusChangedEventArgs> value)

/** @event */
public void remove_Canceling (EventHandler<ActivityExecutionStatusChangedEventArgs> value)

JScript에서는 클래스에서 정의한 이벤트를 처리할 수 있지만 이벤트를 직접 정의할 수는 없습니다.
적용할 수 없음.

Raising an event invokes the event handler through a delegate. For more information, see 이벤트 발생시키기.

The Cancel method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. For more information about handling events, see 이벤트 사용.

상속자 참고 사항: When overriding Canceling in a derived class, make sure to call the base class Cancel method so that registered delegates receive the event.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

Microsoft .NET Framework 3.0은 Windows Vista, Microsoft Windows XP SP2 및 Windows Server 2003 SP1에서 지원됩니다.

.NET Framework

3.0에서 지원
표시: