1 write to Dialect
System.IdentityModel (1)
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (1)
175
rst.Claims.
Dialect
= reader.GetAttribute(trustConstants.Attributes.Dialect);
15 references to Dialect
System.IdentityModel (15)
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (15)
176
if ((rst.Claims.
Dialect
!= null) && !UriUtil.CanCreateValidUri(rst.Claims.
Dialect
, UriKind.Absolute))
178
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3136, trustConstants.Attributes.Dialect, reader.LocalName, reader.NamespaceURI, rst.Claims.
Dialect
)));
181
string ns = WSTrustSerializationHelper.GetRequestClaimNamespace(rst.Claims.
Dialect
);
212
if (!StringComparer.Ordinal.Equals(rst.Claims.
Dialect
, WSAuthorizationConstants.Dialect))
214
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3258, rst.Claims.
Dialect
, WSAuthorizationConstants.Dialect)));
922
if ((claims.
Dialect
!= null) && !UriUtil.CanCreateValidUri(claims.
Dialect
, UriKind.Absolute))
924
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3136, trustConstants.Attributes.Dialect, trustConstants.Elements.Claims, trustConstants.NamespaceURI, claims.
Dialect
)));
927
string ns = WSTrustSerializationHelper.GetRequestClaimNamespace(claims.
Dialect
);
931
prefix = WSTrustSerializationHelper.GetRequestClaimPrefix(claims.
Dialect
);
935
writer.WriteAttributeString(trustConstants.Attributes.Dialect, !string.IsNullOrEmpty(claims.
Dialect
) ? claims.
Dialect
: WSIdentityConstants.Dialect);
943
if (StringComparer.Ordinal.Equals(claims.
Dialect
, WSAuthorizationConstants.Dialect))
949
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3257, claims.
Dialect
, WSAuthorizationConstants.Dialect)));