Gets the current Web operation context.
'Usage Dim value As WebOperationContext value = WebOperationContext.Current 'Declaration Public Shared ReadOnly Property Current As WebOperationContext
The following code shows how to access the current WebOperationContext instance.
Dim current As WebOperationContext = WebOperationContext.Current Dim headers As WebHeaderCollection = current.IncomingRequest.Headers For Each name As String In headers Console.WriteLine(name + " " + headers.Get(name)) Next
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003