RemoveAll Method

MessageHeaders.RemoveAll Method

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

Removes all headers with the specified name and namespace from the collection.

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

'Declaration
Public Sub RemoveAll ( _
	name As String, _
	ns As String _
)

Parameters

name
Type: System.String
The LocalName of the header XML element.
ns
Type: System.String
The namespace URI of the header XML element.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft