CollectionSynchronizationCallback Delegate

Definition

크로스 스레드 액세스에 대 한 컬렉션을 동기화 하는 메서드를 나타냅니다.Represent the method that synchronizes a collection for cross-thread access.

public delegate void CollectionSynchronizationCallback(IEnumerable ^ collection, System::Object ^ context, Action ^ accessMethod, bool writeAccess);
public delegate void CollectionSynchronizationCallback(IEnumerable collection, object context, Action accessMethod, bool writeAccess);
type CollectionSynchronizationCallback = delegate of IEnumerable * obj * Action * bool -> unit
Public Delegate Sub CollectionSynchronizationCallback(collection As IEnumerable, context As Object, accessMethod As Action, writeAccess As Boolean)

Parameters

collection
IEnumerable

생성 된 것 이외의 다른 스레드에서 액세스할 컬렉션입니다.The collection to access on a thread other than the one that created it.

context
Object

컬렉션을 동기화하는 데 사용되는 개체입니다.An object used to synchronize the collection.

accessMethod
Action

컬렉션에 대한 작업을 수행하는 메서드의 대리자입니다.A delegate to the method that performs the operation on the collection.

writeAccess
Boolean

true가 컬렉션에 쓰면 accessMethod 이고, 그렇지 않으면 false입니다.true if accessMethod writes to the collection; otherwise, false.

Inheritance
CollectionSynchronizationCallback

Extension Methods

GetMethodInfo(Delegate)

지정 된 대리자가 나타내는 메서드를 나타내는 개체를 가져옵니다.Gets an object that represents the method represented by the specified delegate.

Applies to