SendOrPostCallback 대리자

정의

메시지를 동기화 컨텍스트로 디스패치할 때 호출할 메서드를 나타냅니다.

public delegate void SendOrPostCallback(System::Object ^ state);
public delegate void SendOrPostCallback(object state);
public delegate void SendOrPostCallback(object? state);
type SendOrPostCallback = delegate of obj -> unit
Public Delegate Sub SendOrPostCallback(state As Object)

매개 변수

state
Object

대리자에게 전달된 개체입니다.

설명

SendOrPostCallback 는 메시지를 동기화 컨텍스트로 디스패치할 때 실행하려는 콜백 메서드를 나타냅니다. 콜백 메서드를 생성자에 전달하여 대리자를 SendOrPostCallback 만듭니다. 메서드에 여기에 표시된 서명이 있어야 합니다.

확장명 메서드

Name Description
GetMethodInfo(Delegate)

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

적용 대상