Click or drag to resize

Utils_AspGetRequestId Method

Gets an unique guid representing this context/request.

This method is using the Items collection with the key "RequestId".

If not found, the unique id will be created and added to the collection.

Namespace:  MicaSystems.Utils
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
public static Guid GetRequestId(
	this HttpContext context
)

Parameters

context
Type: System.WebHttpContext

Return Value

Type: Guid

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type HttpContext. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also