Used to implement custom "VaryBy" parameters: RawUrl, roles, user, ...

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

Syntax

C#
public override string GetVaryByCustomString(
	HttpContext context,
	string custom
)
Visual Basic
Public Overrides Function GetVaryByCustomString ( 
	context As HttpContext,
	custom As String
) As String
Visual C++
public:
virtual String^ GetVaryByCustomString(
	HttpContext^ context, 
	String^ custom
) override
F#
abstract GetVaryByCustomString : 
        context : HttpContext * 
        custom : string -> string 
override GetVaryByCustomString : 
        context : HttpContext * 
        custom : string -> string 

Parameters

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

Return Value

Type: String
Value for the specific custom string.

See Also