15 references to TryCreateValidUri
System.IdentityModel (15)
System\IdentityModel\Metadata\MetadataSerializer.cs (9)
896
if (!UriUtil.
TryCreateValidUri
(binding, UriKind.RelativeOrAbsolute, out bindingUri))
904
if (!UriUtil.
TryCreateValidUri
(location, UriKind.RelativeOrAbsolute, out locationUri))
923
if (!UriUtil.
TryCreateValidUri
(responseLocation, UriKind.RelativeOrAbsolute, out responseUri))
1145
if (!UriUtil.
TryCreateValidUri
(uriContent, UriKind.RelativeOrAbsolute, out uri))
1330
if (!UriUtil.
TryCreateValidUri
(binding, UriKind.RelativeOrAbsolute, out bindingUri))
1338
if (!UriUtil.
TryCreateValidUri
(location, UriKind.RelativeOrAbsolute, out locationUri))
1348
if (!UriUtil.
TryCreateValidUri
(responseLocation, UriKind.RelativeOrAbsolute, out responseUri))
1413
if (!UriUtil.
TryCreateValidUri
(errorUrlString, UriKind.RelativeOrAbsolute, out errorUrl))
1841
if (!UriUtil.
TryCreateValidUri
(tokenType, UriKind.Absolute, out tokenTypeUri))
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (4)
607
if (string.IsNullOrEmpty(attrValue) || !UriUtil.
TryCreateValidUri
(attrValue, UriKind.Absolute, out name))
614
if (!string.IsNullOrEmpty(attrValue) && !UriUtil.
TryCreateValidUri
(attrValue, UriKind.Absolute, out scope))
2212
if (!UriUtil.
TryCreateValidUri
(attrValue, UriKind.Absolute, out valueType))
2226
if (!UriUtil.
TryCreateValidUri
(attrValue, UriKind.Absolute, out encodingType))
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (1)
1372
if (!UriUtil.
TryCreateValidUri
(this.DenormalizeAuthenticationType(authenticationMethod), UriKind.Absolute, out saml2AuthenticationClass))
System\IdentityModel\UriUtil.cs (1)
25
return
TryCreateValidUri
(uriString, uriKind, out tempUri);