SetStateEventArgs 클래스

정의

주의

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

의 상태를 설정하는 인수로 사용되는 클래스를 StateMachineWorkflowActivity나타냅니다.

public ref class SetStateEventArgs : EventArgs
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public class SetStateEventArgs : EventArgs
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class SetStateEventArgs : EventArgs
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
type SetStateEventArgs = class
    inherit EventArgs
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type SetStateEventArgs = class
    inherit EventArgs
Public Class SetStateEventArgs
Inherits EventArgs
상속
SetStateEventArgs
특성

설명

메모

이 재질에서는 사용되지 않는 형식 및 네임스페이스에 대해 설명합니다. 자세한 내용은 Windows Workflow Foundation 4.5 참조하세요.

StateMachineWorkflowActivity 호스트 애플리케이션에서 상태를 설정할 수 있습니다. 이렇게 하면 호스트 애플리케이션이 상태 컴퓨터의 현재 상태를 재정의할 수 있습니다. 이 작업은 클래스의 SetStateEventArgs 인스턴스를 상수로 명명된 WorkflowQueue에 큐에 추가하여 수행할 수 있습니다 StateMachineWorkflowActivity.SetStateQueueName.

이 작업을 수행하는 더 간단한 방법은 클래스에서 메서드를 SetState 사용하는 것입니다 StateMachineWorkflowInstance .

이 메서드를 SetState 사용하여 호스트에서 SetState 작업을 수행하거나, 이벤트를 상태 시스템 워크플로에 큐에 추가하여 직접 수행할 수 있습니다.

상태 시스템 워크플로는 이러한 특수 이벤트를 수신 대기하기 위해 호출된 SetStateQueue 특수 큐를 사용합니다.

생성자

Name Description
SetStateEventArgs(String)
사용되지 않음.

SetStateEventArgs 클래스의 새 인스턴스를 초기화합니다.

속성

Name Description
TargetStateName
사용되지 않음.

설정할 StateActivity 상태를 가져옵니다.

메서드

Name Description
Equals(Object)
사용되지 않음.

지정된 개체가 현재 개체와 같은지 여부를 확인합니다.

(다음에서 상속됨 Object)
GetHashCode()
사용되지 않음.

기본 해시 함수로 사용됩니다.

(다음에서 상속됨 Object)
GetType()
사용되지 않음.

현재 인스턴스의 Type 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()
사용되지 않음.

현재 Object단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()
사용되지 않음.

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

적용 대상

추가 정보