System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (5)
535if (reader.IsStartElement(trustConstants.Elements.CancelTarget, trustConstants.NamespaceURI))
875requestSerializer.WriteXmlElement(writer, trustConstants.Elements.CancelTarget, rst.CancelTarget, rst, context);
1266if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.CancelTarget))
1272throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("elementValue", SR.GetString(SR.ID3222, trustConstants.Elements.CancelTarget, trustConstants.NamespaceURI, typeof(SecurityTokenElement), elementValue));
1275writer.WriteStartElement(trustConstants.Prefix, trustConstants.Elements.CancelTarget, trustConstants.NamespaceURI);