OutgoingMessageHeaders Property

OperationContext.OutgoingMessageHeaders Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the outgoing message headers for the active OperationContext.

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

public MessageHeaders OutgoingMessageHeaders { get; }

Property Value

Type: System.ServiceModel.Channels.MessageHeaders
A MessageHeaders object that contains outbound message headers for the active OperationContext.

Use this property to add reply headers that are sent by a service operation or request headers that are sent by a Windows Phone client object.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft