59 references to ThrowHelperError
System.IdentityModel.Selectors (59)
infocard\client\System\IdentityModel\Selectors\CardSpaceException.cs (11)
19
throw IDT.
ThrowHelperError
(new CardSpaceException(SR.GetString(SR.ClientAPIInfocardError)));
22
throw IDT.
ThrowHelperError
(new UserCancellationException(SR.GetString(SR.ClientAPIUserCancellationError)));
25
throw IDT.
ThrowHelperError
(new ServiceNotStartedException(SR.GetString(SR.ClientAPIServiceNotStartedError)));
28
throw IDT.
ThrowHelperError
(new UntrustedRecipientException(SR.GetString(SR.ClientAPIUntrustedRecipientError)));
31
throw IDT.
ThrowHelperError
(new StsCommunicationException(SR.GetString(SR.ClientStsCommunicationException)));
34
throw IDT.
ThrowHelperError
(new IdentityValidationException(SR.GetString(SR.ClientAPIInvalidIdentity)));
37
throw IDT.
ThrowHelperError
(new ServiceBusyException(SR.GetString(SR.ClientAPIServiceBusy)));
40
throw IDT.
ThrowHelperError
(new PolicyValidationException(SR.GetString(SR.ClientAPIInvalidPolicy)));
43
throw IDT.
ThrowHelperError
(new UnsupportedPolicyOptionsException(SR.GetString(SR.ClientAPIUnsupportedPolicyOptions)));
46
throw IDT.
ThrowHelperError
(new UIInitializationException(SR.GetString(SR.ClientAPIUIInitializationFailed)));
49
throw IDT.
ThrowHelperError
(new CardSpaceException(SR.GetString(SR.ClientAPICannotImport)));
infocard\client\System\IdentityModel\Selectors\CardSpaceSelector.cs (4)
255
throw IDT.
ThrowHelperError
(new CardSpaceException(SR.GetString(SR.ClientAPIInfocardError)));
299
throw IDT.
ThrowHelperError
(new CardSpaceException(SR.GetString(SR.ClientAPIInfocardError)));
328
throw IDT.
ThrowHelperError
(new CardSpaceException(SR.GetString(SR.ClientAPIInfocardError)));
358
throw IDT.
ThrowHelperError
(new ArgumentException(SR.GetString(SR.ClientAPIInvalidPolicy)));
infocard\client\System\IdentityModel\Selectors\CardSpaceShim.cs (1)
308
throw IDT.
ThrowHelperError
(
infocard\client\System\IdentityModel\Selectors\CryptoHandle.cs (3)
110
throw IDT.
ThrowHelperError
(new ObjectDisposedException(SR.GetString(SR.ClientCryptoSessionDisposed)));
160
throw IDT.
ThrowHelperError
(new InvalidOperationException(SR.GetString(SR.GeneralExceptionMessage)));
260
throw IDT.
ThrowHelperError
(new ObjectDisposedException("InternalRefCountedHandle"));
infocard\client\System\IdentityModel\Selectors\InfoCardAsymmetricCrypto.cs (6)
76
throw IDT.
ThrowHelperError
(new NotSupportedException(SR.GetString(SR.ClientUnsupportedCryptoAlgorithm, algorithmUri)));
94
throw IDT.
ThrowHelperError
(new NotSupportedException(SR.GetString(SR.ClientUnsupportedCryptoAlgorithm, algorithmUri)));
113
throw IDT.
ThrowHelperError
(new NotSupportedException(SR.GetString(SR.ClientUnsupportedCryptoAlgorithm, algorithmUri)));
132
throw IDT.
ThrowHelperError
(new NotSupportedException(SR.GetString(SR.ClientUnsupportedCryptoAlgorithm, algorithmUri)));
161
throw IDT.
ThrowHelperError
(new NotSupportedException(SR.GetString(SR.ClientUnsupportedCryptoAlgorithm, algorithmUri)));
190
throw IDT.
ThrowHelperError
(new NotSupportedException(SR.GetString(SR.ClientUnsupportedCryptoAlgorithm, algorithmUri)));
infocard\client\System\IdentityModel\Selectors\InfoCardKeyedHashAlgorithm.cs (4)
61
throw IDT.
ThrowHelperError
(new Win32Exception(status));
82
get { throw IDT.
ThrowHelperError
(new NotImplementedException()); }
145
throw IDT.
ThrowHelperError
(new Win32Exception(status));
203
throw IDT.
ThrowHelperError
(new Win32Exception(status));
infocard\client\System\IdentityModel\Selectors\InfoCardRSACryptoProvider.cs (10)
72
throw IDT.
ThrowHelperError
(new NotSupportedException());
77
throw IDT.
ThrowHelperError
(new NotSupportedException());
99
throw IDT.
ThrowHelperError
(new Win32Exception(status));
131
throw IDT.
ThrowHelperError
(new Win32Exception(status));
167
throw IDT.
ThrowHelperError
(new Win32Exception(status));
211
throw IDT.
ThrowHelperError
(new Win32Exception(status));
222
throw IDT.
ThrowHelperError
(new NotSupportedException());
227
throw IDT.
ThrowHelperError
(new NotSupportedException());
232
throw IDT.
ThrowHelperError
(new NotSupportedException());
237
throw IDT.
ThrowHelperError
(new NotSupportedException());
infocard\client\System\IdentityModel\Selectors\InfoCardSymmetricAlgorithm.cs (8)
85
throw IDT.
ThrowHelperError
(new NotImplementedException());
89
throw IDT.
ThrowHelperError
(new NotImplementedException());
108
throw IDT.
ThrowHelperError
(new NotImplementedException());
121
throw IDT.
ThrowHelperError
(new NotImplementedException());
126
throw IDT.
ThrowHelperError
(new NotImplementedException());
185
throw IDT.
ThrowHelperError
(new Win32Exception(status));
248
throw IDT.
ThrowHelperError
(new Win32Exception(status));
296
throw IDT.
ThrowHelperError
(new Win32Exception(status));
infocard\client\System\IdentityModel\Selectors\InfoCardSymmetricCrypto.cs (10)
67
throw IDT.
ThrowHelperError
(new NotImplementedException());
72
throw IDT.
ThrowHelperError
(new NotImplementedException());
114
throw IDT.
ThrowHelperError
(new NotSupportedException(SR.GetString(SR.ClientUnsupportedCryptoAlgorithm, algorithmUri)));
141
throw IDT.
ThrowHelperError
(new Win32Exception(status));
178
throw IDT.
ThrowHelperError
(new NotSupportedException(SR.GetString(SR.ClientUnsupportedCryptoAlgorithm, algorithmUri)));
207
throw IDT.
ThrowHelperError
(new NotSupportedException(SR.GetString(SR.ClientUnsupportedCryptoAlgorithm, algorithmUri)));
228
throw IDT.
ThrowHelperError
(new NotSupportedException(SR.GetString(SR.ClientUnsupportedCryptoAlgorithm, algorithmUri)));
245
throw IDT.
ThrowHelperError
(new NotSupportedException(SR.GetString(SR.ClientUnsupportedCryptoAlgorithm, algorithmUri)));
262
throw IDT.
ThrowHelperError
(new NotSupportedException(SR.GetString(SR.ClientUnsupportedCryptoAlgorithm, algorithmUri)));
270
throw IDT.
ThrowHelperError
(new NotImplementedException());
infocard\client\System\IdentityModel\Selectors\NativeMethods.cs (1)
36
throw IDT.
ThrowHelperError
(new Win32Exception(
infocard\Diagnostics\Managed\Microsoft\InfoCards\Diagnostics\InfocardTrace.cs (1)
714
throw
ThrowHelperError
(new InfoCardArgumentException(message));