HttpRequestMessageExtensions.GetSynchronizationContext Method (HttpRequestMessage)

 

Retrieves the SynchronizationContext for the given request or null if not available.

Namespace:   System.Net.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

public static SynchronizationContext GetSynchronizationContext(
	this HttpRequestMessage request
)

Parameters

request
Type: System.Net.Http.HttpRequestMessage

The HTTP request.

Return Value

Type: System.Threading.SynchronizationContext

The SynchronizationContext for the given request or null if not available.

Return to top
Show: