6 references to LogHelper
System.ServiceModel.Federation (6)
System\ServiceModel\Federation\WSTrustChannel.cs (1)
32
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(
LogHelper
.FormatInvariant(SR.GetResourceString(SR.IRequestChannelMustBeCreated), requestChannel.State)));
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (3)
64
throw DiagnosticUtility.ExceptionUtility.ThrowHelper(new ArgumentException(
LogHelper
.FormatInvariant(SR.GetResourceString(SR.IssuedSecurityTokenParametersIncorrectType), issuedSecurityTokenParameters), nameof(tokenRequirement)), EventLevel.Error);
142
throw DiagnosticUtility.ExceptionUtility.ThrowHelper(new NotSupportedException(
LogHelper
.FormatInvariant("KeyType is not supported: {0}", WSTrustTokenParameters.KeyType)), EventLevel.Error);
322
throw DiagnosticUtility.ExceptionUtility.ThrowHelper(new NotSupportedException(
LogHelper
.FormatInvariant(SR.GetResourceString(SR.WsTrustVersionNotSupported), MessageSecurityVersion.TrustVersion)), EventLevel.Error);
System\ServiceModel\Federation\WsTrustTokenParameters.cs (2)
128
? throw DiagnosticUtility.ExceptionUtility.ThrowHelper(new ArgumentOutOfRangeException(nameof(value),
LogHelper
.FormatInvariant(SR.GetResourceString(SR.IssuedTokenRenewalThresholdPercentageIncorrect), value)), EventLevel.Error)
156
? throw DiagnosticUtility.ExceptionUtility.ThrowHelper(new ArgumentOutOfRangeException(nameof(value),
LogHelper
.FormatInvariant(SR.GetResourceString(SR.MaxIssuedTokenCachingTimeMustBeGreaterThanTimeSpanZero), value)), EventLevel.Error)