30 references to ThrowHelperWarning
System.ServiceModel (30)
System\ServiceModel\Security\AcceleratedTokenAuthenticator.cs (3)
175
throw TraceUtility.
ThrowHelperWarning
(new SecurityNegotiationException(SR.GetString(SR.InvalidRstRequestType, requestSecurityToken.RequestType)), request);
179
throw TraceUtility.
ThrowHelperWarning
(new SecurityNegotiationException(SR.GetString(SR.CannotIssueRstTokenType, requestSecurityToken.TokenType)), request);
296
throw TraceUtility.
ThrowHelperWarning
(new NotSupportedException(SR.GetString(SR.RstDirectDoesNotExpectRstr)), request);
System\ServiceModel\Security\SecuritySessionClientSettings.cs (5)
1011
throw TraceUtility.
ThrowHelperWarning
(new MessageSecurityException(SR.GetString(SR.InvalidRstRequestType, rst.RequestType)), message);
1015
throw TraceUtility.
ThrowHelperWarning
(new MessageSecurityException(SR.GetString(SR.NoCloseTargetSpecified)), message);
1020
throw TraceUtility.
ThrowHelperWarning
(new MessageSecurityException(SR.GetString(SR.BadCloseTarget, rst.CloseTarget)), message);
2859
throw TraceUtility.
ThrowHelperWarning
(error, message);
3134
throw TraceUtility.
ThrowHelperWarning
(error, message);
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (10)
662
throw TraceUtility.
ThrowHelperWarning
(new InvalidOperationException(SR.GetString(SR.CannotIssueRstTokenType, rst.TokenType)), request);
677
throw TraceUtility.
ThrowHelperWarning
(new InvalidOperationException(SR.GetString(SR.SecurityContextMissing, request.Headers.Action)), request);
684
throw TraceUtility.
ThrowHelperWarning
(new SecurityNegotiationException(SR.GetString(SR.WrongIdentityRenewingToken)), request);
771
throw TraceUtility.
ThrowHelperWarning
(new SecurityNegotiationException(SR.GetString(SR.RenewSessionMissingSupportingToken)), request);
783
throw TraceUtility.
ThrowHelperWarning
(new SecurityNegotiationException(SR.GetString(SR.InvalidRstRequestType, rst.RequestType)), request);
787
throw TraceUtility.
ThrowHelperWarning
(new SecurityNegotiationException(SR.GetString(SR.NoRenewTargetSpecified)), request);
793
throw TraceUtility.
ThrowHelperWarning
(new SecurityNegotiationException(SR.GetString(SR.BadRenewTarget, rst.RenewTarget)), request);
888
throw TraceUtility.
ThrowHelperWarning
(new SecurityNegotiationException(SR.GetString(SR.InvalidRstRequestType, rst.RequestType)), request);
969
throw TraceUtility.
ThrowHelperWarning
(new SecurityNegotiationException(SR.GetString(SR.SFxSecurityContextPropertyMissingFromRequestMessage)), request);
1030
throw TraceUtility.
ThrowHelperWarning
(new SecurityNegotiationException(SR.GetString(SR.InvalidActionForNegotiationMessage, request.Headers.Action)), request);
System\ServiceModel\Security\SecuritySessionServerSettings.cs (10)
1395
throw TraceUtility.
ThrowHelperWarning
(new MessageSecurityException(SR.GetString(SR.NoSessionTokenPresentInMessage)), message);
1562
throw TraceUtility.
ThrowHelperWarning
(error, message);
1938
throw TraceUtility.
ThrowHelperWarning
(new MessageSecurityException(SR.GetString(SR.InvalidRstRequestType, rst.RequestType)), request);
1942
throw TraceUtility.
ThrowHelperWarning
(new MessageSecurityException(SR.GetString(SR.NoCloseTargetSpecified)), request);
1947
throw TraceUtility.
ThrowHelperWarning
(new MessageSecurityException(SR.GetString(SR.BadCloseTarget, rst.CloseTarget)), request);
2679
throw TraceUtility.
ThrowHelperWarning
(error, requestMessage);
3033
throw TraceUtility.
ThrowHelperWarning
(error, message);
3362
throw TraceUtility.
ThrowHelperWarning
(error, message);
3805
throw TraceUtility.
ThrowHelperWarning
(error, message);
4325
throw TraceUtility.
ThrowHelperWarning
(error, message);
System\ServiceModel\Security\SecurityUtils.cs (1)
1793
throw TraceUtility.
ThrowHelperWarning
(new SecurityNegotiationException(SR.GetString(SR.RequestSecurityTokenDoesNotMatchEndpointFilters, listenUri)), rst);
System\ServiceModel\Security\SspiNegotiationTokenAuthenticator.cs (1)
192
throw TraceUtility.
ThrowHelperWarning
(new SecurityNegotiationException(SR.GetString(SR.InvalidRstRequestType, requestSecurityToken.RequestType)), request);