CollectionSynchronizationCallback 대리자

정의

크로스 스레드 액세스에 대한 컬렉션을 동기화하는 메서드를 나타냅니다.

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)

매개 변수

collection
IEnumerable

만든 것 이외의 다른 스레드에서 액세스하는 컬렉션입니다.

context
Object

컬렉션을 동기화하는 데 사용되는 개체입니다.

accessMethod
Action

컬렉션에 대한 작업을 수행하는 메서드의 대리자입니다.

writeAccess
Boolean

accessMethod가 컬렉션에 쓰면 true 이고, 그렇지 않으면 false입니다.

확장 메서드

GetMethodInfo(Delegate)

지정된 대리자가 나타내는 메서드를 나타내는 개체를 가져옵니다.

적용 대상