Aracılığıyla paylaş


SynchronizationScopeActivity.SynchronizationHandles Özellik

Tanım

Bu SynchronizationScopeActivityöğesinin eşitleme davranışını belirleyen tanıtıcıları temsil eden dize koleksiyonunu alır veya ayarlar. İki veya daha fazla SynchronizationScopeActivity etkinlik bir eşitleme tutamacını paylaştığında, bunlar seri bir şekilde yürütülür; alt etkinliklerin içlerinde araya katılmış yürütme yoktur.

public:
 property System::Collections::Generic::ICollection<System::String ^> ^ SynchronizationHandles { System::Collections::Generic::ICollection<System::String ^> ^ get(); void set(System::Collections::Generic::ICollection<System::String ^> ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.SynchronizationHandlesTypeConverter))]
public System.Collections.Generic.ICollection<string> SynchronizationHandles { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.SynchronizationHandlesTypeConverter))>]
member this.SynchronizationHandles : System.Collections.Generic.ICollection<string> with get, set
Public Property SynchronizationHandles As ICollection(Of String)

Özellik Değeri

Bu örnek için eşitleme tutamaçlarını içeren çok satırlı bir dize.

Öznitelikler

Örnekler

Aşağıdaki örnekte SynchronizationHandles özelliğinin ayarlanması gösterilmektedir. Bu örnek, İç İçe Özel Durum İşleyicileri SDK örneğinden alınıyor. Daha fazla bilgi için bkz. İç İçe Özel Durum İşleyicileri Örneği.

this.synchronizationScopeActivity.Activities.Add(this.throwsException);
this.synchronizationScopeActivity.Name = "synchronizationScopeActivity";
this.synchronizationScopeActivity.SynchronizationHandles = null;
Me.synchronizationScopeActivity.Activities.Add(Me.throwsException)
Me.synchronizationScopeActivity.Name = "synchronizationScopeActivity"
Me.synchronizationScopeActivity.SynchronizationHandles = Nothing

Şunlara uygulanır