System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (10)
102if (reader.IsStartElement(trustConstants.Elements.RequestType, trustConstants.NamespaceURI))
795requestSerializer.WriteXmlElement(writer, trustConstants.Elements.RequestType, rst.RequestType, rst, context);
1073if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.RequestType))
1077throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3135, trustConstants.Elements.RequestType, trustConstants.NamespaceURI, (string)elementValue)));
1462if (reader.IsStartElement(trustConstants.Elements.RequestType, trustConstants.NamespaceURI))
1802responseSerializer.WriteXmlElement(writer, trustConstants.Elements.RequestType, rstr.RequestType, rstr, context);
1971if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.RequestType))
1975throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3135, trustConstants.Elements.RequestType, trustConstants.NamespaceURI, (string)elementValue)));
2446throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3135, trustConstants.Elements.RequestType, trustConstants.NamespaceURI, requestType)));
2510writer.WriteElementString(trustConstants.Prefix, trustConstants.Elements.RequestType, trustConstants.NamespaceURI, requestTypeAsStr);