다음을 통해 공유


DispatcherProvider.SetCurrent(IDispatcherProvider) 메서드

정의

현재 디스패처 공급자를 설정합니다.

public:
 static bool SetCurrent(Microsoft::Maui::Dispatching::IDispatcherProvider ^ provider);
public static bool SetCurrent (Microsoft.Maui.Dispatching.IDispatcherProvider? provider);
static member SetCurrent : Microsoft.Maui.Dispatching.IDispatcherProvider -> bool
Public Shared Function SetCurrent (provider As IDispatcherProvider) As Boolean

매개 변수

provider
IDispatcherProvider

IDispatcherProvider 현재 디스패처 공급자로 설정할 개체입니다.

반환

true 현재 디스패처가 실제로 업데이트되었으면 이고, 그렇지 않으면 false.

적용 대상