Used in Global.asax and on the BasePage to generate custom vary by params based on username, roles, and similar criteria.

Namespace: MonoSoftware.MonoX.Utilities
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public static string GetVaryByCustomString(
	HttpContext context,
	string custom
)
Visual Basic
Public Shared Function GetVaryByCustomString ( 
	context As HttpContext,
	custom As String
) As String
Visual C++
public:
static String^ GetVaryByCustomString(
	HttpContext^ context, 
	String^ custom
)
F#
static member GetVaryByCustomString : 
        context : HttpContext * 
        custom : string -> string 

Parameters

context
Type: System.Web..::..HttpContext
Context.
custom
Type: System..::..String
Custom param string.

Return Value

Type: String
Value for the custom param.

See Also