MS.Win32.UnsafeNativeMethods.MessageBox
is just a reference to the native API function MessageBox
.
It blocks because that is what it does: it is waiting for you to press a button.
Вопрос
In C# application, I want know how work MessageBox
. But I block on this method:
MS.Win32.UnsafeNativeMethods.MessageBox(HandleRef hWnd, String text, String caption, Int32 type)
My question is the same in suject title:
Where can I find some information on this method?
Решение
MS.Win32.UnsafeNativeMethods.MessageBox
is just a reference to the native API function MessageBox
.
It blocks because that is what it does: it is waiting for you to press a button.