Gets the custom profile for this application's profile.

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

Syntax

C#
public static CustomProfile GetApplicationCustomProfile(
	Session session
)
Visual Basic
Public Shared Function GetApplicationCustomProfile ( _
	session As Session _
) As CustomProfile

Parameters

session
Type: ININ.IceLib.Connection..::..Session
The session.

Return Value

A CustomProfile that uses the session's ApplicationProfileName for getting and setting profile information.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionA parameter is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::..NotSupportedExceptionThe server does not support setting the profile name for custom profiles.

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