ActivityBind 클래스

정의

주의

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

활동의 속성을 속성, 필드, 인덱서, 메서드, 이벤트 또는 다른 활동의 속성에 바인딩합니다. 이 클래스는 상속될 수 없습니다.

public ref class ActivityBind sealed : System::Workflow::ComponentModel::Serialization::MarkupExtension
[System.ComponentModel.Browsable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.ActivityBindTypeConverter))]
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.Compiler.ActivityBindValidator))]
public sealed class ActivityBind : System.Workflow.ComponentModel.Serialization.MarkupExtension
[System.ComponentModel.Browsable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.ActivityBindTypeConverter))]
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.Compiler.ActivityBindValidator))]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class ActivityBind : System.Workflow.ComponentModel.Serialization.MarkupExtension
[<System.ComponentModel.Browsable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.ActivityBindTypeConverter))>]
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.Compiler.ActivityBindValidator))>]
type ActivityBind = class
    inherit MarkupExtension
[<System.ComponentModel.Browsable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.ActivityBindTypeConverter))>]
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.Compiler.ActivityBindValidator))>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityBind = class
    inherit MarkupExtension
Public NotInheritable Class ActivityBind
Inherits MarkupExtension
상속
ActivityBind
특성

설명

참고

이 자료에서는 더 이상 사용되지 않는 형식과 네임스페이스에 대해 설명합니다. 자세한 내용은 Deprecated Types in Windows Workflow Foundation 4.5(Windows Workflow Foundation 4.5에서 사용되지 않는 형식)를 참조하세요.

ActivityBind 를 사용하면 데이터가 한 활동에서 워크플로 내의 다른 활동으로 흐를 수 있습니다. ActivityBind를 사용하면 코드로 수행해야 하는 작업을 선언적으로 수행할 수 있으므로 완전히 XAML 마크업으로 작성된 대부분의 워크플로의 주요 요소입니다.

ActivityBindActivity 멤버가 대상인 바인딩 식을 나타냅니다. 대상 활동 멤버는 속성, 이벤트 또는 필드일 수 있습니다. Activity 속성이나 메서드는 ActivityBind를 사용하여 다른 Activity 멤버에 바인딩할 수 있습니다.

예를 들어 activity1의 property1이 특정 값으로 설정되어 있고 activity2의 property1이 ActivityBind(Name="activity1" 및 Path="property1")로 설정된 경우 런타임에 activity2.property1은 activity1.property1에서 값을 가져옵니다.

생성자

ActivityBind()

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

ActivityBind(String)

ActivityBind 매개 변수를 사용하여 name 클래스의 새 인스턴스를 초기화합니다.

ActivityBind(String, String)

ActivityBindname 매개 변수를 사용하여 path 클래스의 새 인스턴스를 초기화합니다.

속성

Name

Activity가 가리키는 ActivityBind의 이름을 가져오거나 설정합니다.

Path

대상 활동 멤버의 경로를 가져오거나 설정합니다. 값은 점 표기법을 사용하여 중첩된 값의 경로를 나타낼 수 있습니다. 예를 들어 "A.B.C" 경로는 ActivityBind가 이름이 'C'인 필드 또는 속성에 대해 설정되고, 'C'는 필드 또는 속성 'B'의 멤버이며, 'B'는 다시 대상 활동의 멤버인 필드 또는 속성 'A'임을 나타냅니다.

UserData

이 인스턴스와 관련된 사용자 데이터의 IDictionary를 가져옵니다.

메서드

Equals(Object)

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

(다음에서 상속됨 Object)
GetHashCode()

기본 해시 함수로 작동합니다.

(다음에서 상속됨 Object)
GetRuntimeValue(Activity)

Object의 런타임 값을 나타내는 ActivityBind를 가져옵니다.

GetRuntimeValue(Activity, Type)

Object의 런타임 값을 나타내는 ActivityBind를 가져옵니다.

GetType()

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

(다음에서 상속됨 Object)
MemberwiseClone()

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

(다음에서 상속됨 Object)
ProvideValue(IServiceProvider)

이 클래스의 현재 인스턴스를 반환합니다.

SetRuntimeValue(Activity, Object)

런타임 값을 설정합니다.

ToString()

NamePath 속성 문자열의 조합을 계산하고 반환합니다.

적용 대상