1 type derived from SoapHeader
System.Web.Services (1)
System\Web\Services\Protocols\SoapUnknownHeader.cs (1)
21
public sealed class SoapUnknownHeader :
SoapHeader
{
36 references to SoapHeader
System.Web.Services (36)
System\Web\Services\Description\SoapProtocolImporter.cs (2)
575
mapping = soapImporter.ImportDerivedTypeMapping(part.Type, typeof(
SoapHeader
), true);
581
mapping = xmlImporter.ImportDerivedTypeMapping(part.Element, typeof(
SoapHeader
), true);
System\Web\Services\Protocols\SoapHeader.cs (23)
220
if (typeof(
SoapHeader
).IsAssignableFrom(o.GetType())) {
221
unreferencedHeaders.Add((
SoapHeader
)o);
256
SoapHeader
header = (
SoapHeader
)headerValues[i];
269
foreach (
SoapHeader
header in this.unreferencedHeaders) {
274
foreach (
SoapHeader
header in this.unknownHeaders) {
307
SoapHeader
[] headerArray = new
SoapHeader
[mappings.Length];
310
SoapHeader
header = headers[i];
328
SoapHeader
[] newHeaderArray = new
SoapHeader
[mappings.Length + otherHeaderCount];
335
newHeaderArray[count++] = (
SoapHeader
)otherHeaders[i];
346
foreach (
SoapHeader
header in otherHeaders) {
364
SoapHeader
header = headers[i];
375
foreach (
SoapHeader
header in headers) {
399
SoapHeader
header = headers[j];
411
SoapHeader
header = headers[j];
428
SoapHeader
header = headers[i];
447
if (values[j] != null) headers.Add((
SoapHeader
)values[j]);
451
if (value != null) headers.Add((
SoapHeader
)value);
458
SoapHeader
header = headers[i];
466
static int FindMapping(SoapHeaderMapping[] mappings,
SoapHeader
header, SoapHeaderDirection direction) {
487
static string GetHeaderElementName(
SoapHeader
header) {
System\Web\Services\Protocols\SoapHeaders.cs (8)
28
public
SoapHeader
this[int index] {
29
get { return (
SoapHeader
)List[index]; }
37
public int Add(
SoapHeader
header) {
45
public void Insert(int index,
SoapHeader
header) {
53
public int IndexOf(
SoapHeader
header) {
61
public bool Contains(
SoapHeader
header) {
69
public void Remove(
SoapHeader
header) {
77
public void CopyTo(
SoapHeader
[] array, int index) {
System\Web\Services\Protocols\SoapReflector.cs (3)
465
if (soapHeader.headerType != typeof(SoapUnknownHeader) && soapHeader.headerType != typeof(
SoapHeader
))
471
if (!typeof(
SoapHeader
).IsAssignableFrom(soapHeader.headerType)) throw HeaderException(headerAttribute.MemberName, methodInfo.DeclaringType, Res.WebHeaderType);
484
if (soapHeader.headerType != typeof(
SoapHeader
) && soapHeader.headerType != typeof(SoapUnknownHeader)) {