43 references to ThrowHelperArgument
System.ServiceModel.Primitives (43)
System\IdentityModel\Tokens\KerberosRequestorSecurityToken.cs (1)
32throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.ProvidedNetworkCredentialsForKerberosHasInvalidUserName);
System\IdentityModel\Tokens\LocalIdKeyIdentifierClause.cs (1)
44throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.LocalIdCannotBeEmpty);
System\IdentityModel\XD.cs (15)
230throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.XDCannotFindValueInDictionaryString, value)); 424throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.XDCannotFindValueInDictionaryString, value)); 476throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.XDCannotFindValueInDictionaryString, value)); 548throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.XDCannotFindValueInDictionaryString, value)); 618throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.XDCannotFindValueInDictionaryString, value)); 716throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.XDCannotFindValueInDictionaryString, value)); 742throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.XDCannotFindValueInDictionaryString, value)); 855throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.XDCannotFindValueInDictionaryString, value)); 914throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.XDCannotFindValueInDictionaryString, value)); 1005throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.XDCannotFindValueInDictionaryString, value)); 1155throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.XDCannotFindValueInDictionaryString, value)); 1279throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.XDCannotFindValueInDictionaryString, value)); 1320throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.XDCannotFindValueInDictionaryString, value)); 1403throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.XDCannotFindValueInDictionaryString, value)); 1510throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.XDCannotFindValueInDictionaryString, value));
System\ServiceModel\Description\MetadataLocation.cs (1)
35throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.SFxMetadataReferenceInvalidLocation, value));
System\ServiceModel\Description\ServiceReflector.cs (1)
159throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.SFXUnvalidNamespaceValue, ns, propName));
System\ServiceModel\Dispatcher\ClientRuntime.cs (2)
554throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.SFxMismatchedOperationParent); 576throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.SFxMismatchedOperationParent);
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (1)
218throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.SFxInvalidAsyncResultState0);
System\ServiceModel\Dispatcher\DispatchRuntime.cs (2)
492throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.SFxMismatchedOperationParent); 513throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.SFxMismatchedOperationParent);
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (1)
360throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.SFxInvalidAsyncResultState0);
System\ServiceModel\DnsEndpointIdentity.cs (1)
32throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.UnrecognizedClaimTypeForIdentity, identity.ClaimType, ClaimTypes.Dns));
System\ServiceModel\RsaEndpointIdentity.cs (1)
39throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.UnrecognizedClaimTypeForIdentity, identity.ClaimType, ClaimTypes.Rsa));
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (3)
32throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.TokenRequirementDoesNotSpecifyTargetAddress, initiatorRequirement)); 193throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.TokenRequirementDoesNotSpecifyTargetAddress, initiatorRequirement)); 198throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.TokenProviderRequiresSecurityBindingElement, initiatorRequirement));
System\ServiceModel\Security\InMemoryNonceCache.cs (2)
75throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.NonceLengthTooShort); 91throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.NonceLengthTooShort);
System\ServiceModel\Security\RequestSecurityTokenResponse.cs (1)
466throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.EffectiveGreaterThanExpiration);
System\ServiceModel\Security\SecurityHeaderTokenResolver.cs (1)
51throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.ResolvingExternalTokensRequireSecurityTokenParameters);
System\ServiceModel\Security\SecurityUtils.cs (1)
927throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.IssuerBindingNotPresentInTokenRequirement, requirement));
System\ServiceModel\Security\Tokens\DerivedKeySecurityToken.cs (4)
166throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.DerivedKeyPosAndGenNotSpecified); 170throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.DerivedKeyPosAndGenBothSpecified); 197throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.DerivedKeyLengthTooLong, Length, maxKeyLength)); 205throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.DerivedKeyCannotDeriveFromSecret);
System\ServiceModel\Security\Tokens\SecurityContextSecurityToken.cs (1)
154throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.KeyLifetimeNotWithinTokenLifetime);
System\ServiceModel\Security\XmlHelper.cs (1)
285throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.InvalidQName));
System\ServiceModel\SpnEndpointIdentity.cs (1)
33throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.UnrecognizedClaimTypeForIdentity, identity.ClaimType, ClaimTypes.Spn));
System\ServiceModel\UpnEndpointIdentity.cs (1)
36throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SRP.Format(SRP.UnrecognizedClaimTypeForIdentity, identity.ClaimType, ClaimTypes.Upn));