ActiveDirectoryAuthenticationProvider.SetIWin32WindowFunc Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets a reference to the current IWin32Window that triggers the browser to be shown. Used to center the browser pop-up onto this window.
public:
void SetIWin32WindowFunc(Func<System::Windows::Forms::IWin32Window ^> ^ iWin32WindowFunc);
public void SetIWin32WindowFunc(Func<System.Windows.Forms.IWin32Window> iWin32WindowFunc);
member this.SetIWin32WindowFunc : Func<System.Windows.Forms.IWin32Window> -> unit
Public Sub SetIWin32WindowFunc (iWin32WindowFunc As Func(Of IWin32Window))
Parameters
- iWin32WindowFunc
- Func<IWin32Window>
A function to return the current window.
Remarks
This API exists for .NET Framework callers using the embedded WebView. New code on any framework should prefer SetParentActivityOrWindowFunc(Func<Object>), which works on both .NET Framework and modern .NET and integrates with the WAM broker on Windows.