Export (0) Print
Expand All

OperationContext.IncomingMessageHeaders Property

Gets the incoming message headers for the OperationContext.

Namespace: System.ServiceModel
Assembly: System.ServiceModel (in system.servicemodel.dll)

public MessageHeaders IncomingMessageHeaders { get; }
/** @property */
public MessageHeaders get_IncomingMessageHeaders ()

public function get IncomingMessageHeaders () : MessageHeaders

Not applicable.

Property Value

A MessageHeaders object that contains the incoming message headers.

Use this property to inspect or modify the request headers that arrive at a service operation or reply headers that arrive at a client proxy.

The following code example shows how to read the incoming message headers in a service operation.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2015 Microsoft