System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (20)
50rst.Context = reader.GetAttribute(trustConstants.Attributes.Context);
175rst.Claims.Dialect = reader.GetAttribute(trustConstants.Attributes.Dialect);
178throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3136, trustConstants.Attributes.Dialect, reader.LocalName, reader.NamespaceURI, rst.Claims.Dialect)));
509string attrValue = reader.GetAttribute(trustConstants.Attributes.Allow);
517attrValue = reader.GetAttribute(trustConstants.Attributes.OK);
687writer.WriteAttributeString(trustConstants.Attributes.Context, (string)rst.Context);
924throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3136, trustConstants.Attributes.Dialect, trustConstants.Elements.Claims, trustConstants.NamespaceURI, claims.Dialect)));
935writer.WriteAttributeString(trustConstants.Attributes.Dialect, !string.IsNullOrEmpty(claims.Dialect) ? claims.Dialect : WSIdentityConstants.Dialect);
1260writer.WriteAttributeString(trustConstants.Attributes.Allow, XmlConvert.ToString(renewing.AllowRenewal));
1261writer.WriteAttributeString(trustConstants.Attributes.OK, XmlConvert.ToString(renewing.OkForRenewalAfterExpiration));
1382rstr.Context = reader.GetAttribute(trustConstants.Attributes.Context);
1702writer.WriteAttributeString(trustConstants.Attributes.Context, response.Context);
2204string attrValue = reader.GetAttribute(trustConstants.Attributes.ValueType);
2208SR.GetString(SR.ID0001, trustConstants.Attributes.ValueType, reader.Name)));
2215SR.GetString(SR.ID3136, trustConstants.Attributes.ValueType, reader.LocalName, reader.NamespaceURI, attrValue)));
2218attrValue = reader.GetAttribute(trustConstants.Attributes.EncodingType);
2222SR.GetString(SR.ID0001, trustConstants.Attributes.EncodingType, reader.Name)));
2229SR.GetString(SR.ID3136, trustConstants.Attributes.EncodingType, reader.LocalName, reader.NamespaceURI, attrValue)));
2299writer.WriteAttributeString(trustConstants.Attributes.ValueType, binaryExchange.ValueType.AbsoluteUri);
2300writer.WriteAttributeString(trustConstants.Attributes.EncodingType, binaryExchange.EncodingType.AbsoluteUri);