HandleExternalEventActivity.Invoked Olay
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Dış olay alındığında gerçekleşir.
public:
event EventHandler<System::Workflow::Activities::ExternalDataEventArgs ^> ^ Invoked;
public event EventHandler<System.Workflow.Activities.ExternalDataEventArgs> Invoked;
member this.Invoked : EventHandler<System.Workflow.Activities.ExternalDataEventArgs>
Public Custom Event Invoked As EventHandler(Of ExternalDataEventArgs)
Olay Türü
Örnekler
Aşağıdaki kod örneği, sınıfı için değerlerin nasıl oluşturulacağını ve ayarlandığını HandleExternalEventActivity gösterir. Bu kod örneği, DocumentApprovalWorkflow.cs dosyasındaki RaiseEventToLoadWorkflow SDK örneğinin bir parçasıdır. Daha fazla bilgi için bkz. Olayı İş Akışını Yüklemeye Yükseltme.
this.Car.Name = "Car";
this.Car.ExecuteCode += new System.EventHandler(this.Car_ExecuteCode);
this.Car.SetValue(System.Workflow.Activities.ConditionedActivityGroup.WhenConditionProperty, codecondition1);
codecondition2.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.AirlineCondition);
Me.Car.Name = "Car"
AddHandler Car.ExecuteCode, AddressOf Me.Car_ExecuteCode
Me.Car.SetValue(System.Workflow.Activities.ConditionedActivityGroup.WhenConditionProperty, codecondition1)
AddHandler codecondition2.Condition, AddressOf Me.AirlineCondition