Asynchronously checks to see if the application based settings exist for the specified application profile name from .

Namespace: ININ.IceLib.Connection.Extensions
Assembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public void CheckForApplicationBasedSettingsAsync(
	EventHandler<CheckForApplicationBasedSettingsCompletedEventArgs> completedCallback,
	Object userState
)
Visual Basic
Public Sub CheckForApplicationBasedSettingsAsync ( _
	completedCallback As EventHandler(Of CheckForApplicationBasedSettingsCompletedEventArgs), _
	userState As Object _
)

Parameters

completedCallback
Type: System..::..EventHandler<(Of <(<'CheckForApplicationBasedSettingsCompletedEventArgs>)>)>
userState
Type: System..::..Object

Return Value

trueTruetruetrue (True in Visual Basic) if the application based settings exist; otherwise, falseFalsefalsefalse (False in Visual Basic).

Remarks

When completed, the completedCallback delegate is invoked on a thread appropriate to the application-model, such as the GUI thread in a UI application. The Error property of the AsyncCompletedEventArgs-derived object passed to the delegate will contain any exceptions thrown while executing the asynchronous task. See the synchronous version of this method for more detailed error information. For more information on async method calls, see How Async Calls Work.

Returns falseFalsefalsefalse (False in Visual Basic) if IsInLegacyMode is trueTruetruetrue (True in Visual Basic), otherwise, tries to download the application based settings from the IC Server and returns whether or not it was successful.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 SU 2 and beyond.

See Also