Show / Hide Table of Contents

Constructor DefaultChallengeHandler

DefaultChallengeHandler()

Initializes a new instance of the DefaultChallengeHandler class for the current UI thread context.

Declaration
public DefaultChallengeHandler()
Exceptions
Type Condition
System.InvalidOperationException

The current thread is not the UI thread, or System.Threading.SynchronizationContext.Current is null.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.6 - 200.7
.NET200.6 - 200.7
.NET Windows100.14 - 200.7
.NET Android200.2 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.14 - 200.7
Xamarin.Android100.14
Xamarin.iOS100.14 - 100.15
UWP100.0 - 200.7

DefaultChallengeHandler(SynchronizationContext)

Initializes a new instance of the DefaultChallengeHandler class with the specified UI thread context.

Declaration
public DefaultChallengeHandler(SynchronizationContext uiThreadContext)
Parameters
Type Name Description
System.Threading.SynchronizationContext uiThreadContext

The context for the UI thread.

Exceptions
Type Condition
System.ArgumentNullException

uiThreadContext is null.

Applies to

Platforms and versions
TargetVersions
.NET Windows100.14 - 200.7
.NET Framework100.14 - 200.7

DefaultChallengeHandler(SynchronizationContext, IntPtr)

Initializes a new instance of the DefaultChallengeHandler class with the specified UI thread context and window handle.

Declaration
public DefaultChallengeHandler(SynchronizationContext uiThreadContext, IntPtr windowHandle)
Parameters
Type Name Description
System.Threading.SynchronizationContext uiThreadContext

The context for the UI thread.

System.IntPtr windowHandle

The handle for the main window.

Exceptions
Type Condition
System.ArgumentNullException

uiThreadContext is null.

Applies to

Platforms and versions
TargetVersions
.NET Windows100.14 - 200.7
.NET Framework100.14 - 200.7
In This Article
Back to top Copyright © 2022 Esri.