9 instantiations of TargetInvocationException
mscorlib (1)
system\rttype.cs (1)
5540throw new TargetInvocationException(e);
PresentationFramework (1)
src\Framework\System\Windows\Interop\DynamicScriptObject.cs (1)
477throw new TargetInvocationException(message, comException)
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (1)
1995throw new TargetInvocationException(ex);
fx\src\data\System\Data\SQLTypes\SqlXml.cs (1)
124throw new TargetInvocationException(ex);
System.Windows.Forms (1)
winforms\Managed\System\Resources\ResXResourceReader.cs (1)
417TargetInvocationException newTie = new TargetInvocationException(newMessage, xml);
System.Workflow.Activities (4)
Rules\Executor.cs (2)
132throw new TargetInvocationException(message, e.InnerException); 158throw new TargetInvocationException(message, e.InnerException);
Rules\Expressions.cs (2)
1616throw new TargetInvocationException(message, e.InnerException); 3124throw new TargetInvocationException(message, e.InnerException);
187 references to TargetInvocationException
ComSvcConfig (5)
ComplusTypeValidator.cs (4)
44catch (TargetInvocationException e) 101catch (TargetInvocationException e) 177catch (TargetInvocationException e) 227catch (TargetInvocationException e)
SvcFileManager.cs (1)
220catch (TargetInvocationException e)
Microsoft.Activities.Build (2)
Microsoft\Activities\Build\Utilities.cs (2)
38catch (TargetInvocationException tie) 41while (ex != null && ex is TargetInvocationException)
mscorlib (2)
system\rttype.cs (1)
5652catch (TargetInvocationException e)
system\runtime\interopservices\windowsruntime\managedactivationfactory.cs (1)
66catch (TargetInvocationException e)
PresentationBuildTasks (4)
Base\MS\Internal\CriticalExceptions.cs (1)
56( ex is System.Reflection.TargetInvocationException
Framework\System\Windows\Markup\XAMLParseException.cs (1)
477if (innerException is TargetInvocationException && innerException.InnerException is XamlParseException)
Framework\System\Windows\Markup\XamlParser.cs (1)
215if (e is TargetInvocationException && e.InnerException is XamlParseException)
Framework\System\Windows\Markup\XamlReaderHelper.cs (1)
1409if (innerException is TargetInvocationException && innerException.InnerException is XamlParseException)
PresentationFramework (28)
src\Framework\MS\Internal\Data\DefaultValueConverter.cs (1)
241catch (TargetInvocationException)
src\Framework\MS\Internal\WindowsRuntime\Windows\Data\Text\WordsSegmenter.cs (3)
77catch (TargetInvocationException tiex) when (tiex.InnerException is ArgumentException) 141catch (TargetInvocationException tex) when (tex.InnerException?.HResult == E_BOUNDS) 231(e is TargetInvocationException) ||
src\Framework\System\Windows\Markup\BamlRecordReader.cs (12)
1584TargetInvocationException tie = e as TargetInvocationException; 2533TargetInvocationException tie = e as TargetInvocationException; 2708TargetInvocationException tie = e as TargetInvocationException; 2950TargetInvocationException tie = e as TargetInvocationException; 3777TargetInvocationException tie = e as TargetInvocationException; 3917TargetInvocationException tie = e as TargetInvocationException;
src\Framework\System\Windows\Markup\XamlParseException.cs (1)
477if (innerException is TargetInvocationException && innerException.InnerException is XamlParseException)
src\Shared\MS\Internal\WindowsRuntime\ReflectionHelper.cs (11)
53/// <exception cref="TargetInvocationException">The invoked method throws an exception</exception> 87/// <exception cref="TargetInvocationException">The invoked method throws an exception</exception> 117/// <exception cref="TargetInvocationException">The invoked method throws an exception</exception> 136/// <exception cref="TargetInvocationException">The invoked method throws an exception</exception> 169/// <exception cref="TargetInvocationException">The invoked method throws an exception</exception> 200/// <exception cref="TargetInvocationException">The invoked method throws an exception</exception> 223/// <exception cref="TargetInvocationException">The invoked method throws an exception</exception> 256/// <exception cref="TargetInvocationException">The invoked method throws an exception</exception> 304/// <exception cref="TargetInvocationException">The invoked constructor throws an exception</exception> 329/// <exception cref="TargetInvocationException">The invoked constructor throws an exception</exception> 356/// <exception cref="TargetInvocationException">The invoked constructor throws an exception</exception>
System (5)
compmod\system\componentmodel\LicenseManager.cs (1)
128catch (TargetInvocationException e) {
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (2)
955if (t is TargetInvocationException) { 1152if (t is TargetInvocationException && t.InnerException != null) {
compmod\system\diagnostics\traceutils.cs (2)
85catch(TargetInvocationException tiexc) { 98catch(TargetInvocationException tiexc) {
System.Activities (10)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (2)
164catch (TargetInvocationException e) 296catch (TargetInvocationException e)
System\Activities\Expressions\AssemblyReference.cs (3)
271(ex is TargetInvocationException && 272(((TargetInvocationException)ex).InnerException is FileNotFoundException || 273((TargetInvocationException)ex).InnerException is FileNotFoundException)))
System\Activities\Expressions\ExpressionServices.cs (5)
260catch (TargetInvocationException e) 782catch (TargetInvocationException e) 966catch (TargetInvocationException e) 1026catch (TargetInvocationException e) 1089catch (TargetInvocationException e)
System.Activities.Presentation (7)
System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (1)
180if (ex is TargetInvocationException && ex.InnerException != null)
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
447if (ex is TargetInvocationException && ex.InnerException != null)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (1)
503catch (TargetInvocationException exception)
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (1)
1571if (err is TargetInvocationException && err.InnerException is ValidationException || err is ValidationException)
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
597catch (TargetInvocationException)
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
1553if (err is TargetInvocationException && err.InnerException is ValidationException || err is ValidationException)
System.Activities.Presentation\System\Activities\Presentation\View\VBIdentifierDesigner.xaml.cs (1)
121if (err is TargetInvocationException && err.InnerException is ValidationException || err is ValidationException)
System.ComponentModel.DataAnnotations (1)
DataAnnotations\CustomValidationAttribute.cs (1)
163} catch (TargetInvocationException tie) {
System.Data (8)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\VisualStudio\Activities\ExceptionUtility.cs (1)
22if ((exception is TypeInitializationException) || (exception is TargetInvocationException))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (1)
180if (ex is TargetInvocationException && ex.InnerException != null)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
447if (ex is TargetInvocationException && ex.InnerException != null)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (1)
503catch (TargetInvocationException exception)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (1)
1571if (err is TargetInvocationException && err.InnerException is ValidationException || err is ValidationException)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
597catch (TargetInvocationException)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
1553if (err is TargetInvocationException && err.InnerException is ValidationException || err is ValidationException)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VBIdentifierDesigner.xaml.cs (1)
121if (err is TargetInvocationException && err.InnerException is ValidationException || err is ValidationException)
System.Data.Entity (4)
System\Data\Metadata\AspProxy.cs (2)
175catch (TargetInvocationException e) 250catch (TargetInvocationException e)
System\Data\Objects\ELinq\Funcletizer.cs (2)
650catch (TargetInvocationException e) 743catch (TargetInvocationException ex)
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityCodeGenerator.cs (1)
657catch (TargetInvocationException e)
System.Data.Linq (12)
ChangeDirector.cs (3)
70catch (TargetInvocationException tie) { 123catch (TargetInvocationException tie) { 171catch (TargetInvocationException tie) {
ChangeProcessor.cs (1)
270} catch (TargetInvocationException tie) {
DataServices.cs (2)
187} catch (TargetInvocationException tie) { 360catch (TargetInvocationException tie) {
DbConvert.cs (1)
172catch (TargetInvocationException t) {
SqlClient\Query\QueryConverter.cs (1)
348} catch (System.Reflection.TargetInvocationException e) {
SqlClient\Query\SqlFormatter.cs (1)
456} catch (System.Reflection.TargetInvocationException e) {
SqlClient\SqlProvider.cs (3)
549catch (TargetInvocationException tie) { 1086catch (TargetInvocationException tie) { 1194} catch (System.Reflection.TargetInvocationException e) {
System.Data.Services (13)
System\Data\Services\DataServiceConfiguration.cs (3)
491catch (TargetInvocationException tie) 546catch (TargetInvocationException tie) 970catch (TargetInvocationException exception)
System\Data\Services\Epm\EpmCustomContentWriterNodeData.cs (1)
203(System.Reflection.TargetInvocationException e)
System\Data\Services\Epm\EpmSyndicationContentSerializer.cs (1)
94catch (System.Reflection.TargetInvocationException e)
System\Data\Services\ErrorHandler.cs (1)
175internal static void HandleTargetInvocationException(TargetInvocationException exception)
System\Data\Services\Providers\BaseServiceProvider.cs (1)
322catch (TargetInvocationException exception)
System\Data\Services\Providers\DataServiceProviderWrapper.cs (1)
452catch (TargetInvocationException exception)
System\Data\Services\Providers\ResourceType.cs (1)
958catch (TargetInvocationException exception)
System\Data\Services\RequestUriProcessor.cs (2)
524catch (TargetInvocationException exception) 541catch (TargetInvocationException exception)
System\Data\Services\UpdateTracker.cs (2)
66catch (TargetInvocationException exception) 105catch (TargetInvocationException exception)
System.Data.Services.Client (3)
parent\Server\System\Data\Services\Epm\EpmCustomContentWriterNodeData.cs (1)
201(System.Reflection.TargetInvocationException)
System\Data\Services\Client\Binding\BindingObserver.cs (1)
209catch (TargetInvocationException tie)
System\Data\Services\Client\Epm\EpmSyndicationContentSerializer.cs (1)
77catch (System.Reflection.TargetInvocationException)
System.Data.SqlXml (1)
System\Xml\Xsl\Runtime\XmlExtensionFunction.cs (1)
258catch (TargetInvocationException e) {
System.Drawing (1)
commonui\System\Drawing\Printing\PrintDocument.cs (1)
151catch (TargetInvocationException) {
System.IdentityModel (2)
System\IdentityModel\Configuration\TypeResolveHelper.cs (1)
75else if (inner is TargetInvocationException)
System\IdentityModel\CryptoHelper.cs (1)
1261catch (TargetInvocationException)
System.ServiceModel (8)
System\ServiceModel\Activation\SystemWebHelper.cs (5)
90catch (TargetInvocationException exception) 133catch (TargetInvocationException exception) 161catch (TargetInvocationException exception) 195catch (TargetInvocationException exception) 234catch (TargetInvocationException exception)
System\ServiceModel\Channels\HttpMessageHandlerFactory.cs (1)
273catch (TargetInvocationException targetInvocationException)
System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
375catch (TargetInvocationException e)
System\ServiceModel\Description\ServiceReflector.cs (1)
460if (e is TargetInvocationException && e.InnerException != null)
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\ServiceParser.cs (1)
690catch (TargetInvocationException e)
System.ServiceModel.Internals (8)
System\Runtime\ExceptionTrace.cs (7)
54TargetInvocationException targetInvocationException = exception as TargetInvocationException; 73TargetInvocationException targetInvocationException = exception as TargetInvocationException; 82public Exception AsError(TargetInvocationException targetInvocationException, string eventSource) 150TargetInvocationException targetInvocationException = nextInnerException as TargetInvocationException;
System\Runtime\Fx.cs (1)
218exception is TargetInvocationException)
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\QueryStringConverter.cs (1)
279catch (TargetInvocationException e)
System.Web (9)
Compilation\BuildManager.cs (1)
904catch (TargetInvocationException e) {
HttpApplication.cs (1)
1557if (e is TargetInvocationException)
Security\ADMembershipProvider.cs (5)
950catch (TargetInvocationException tie) 1341catch (TargetInvocationException tie) 1483catch (TargetInvocationException tie) 3227catch (TargetInvocationException e) 3274catch (TargetInvocationException e)
Security\AuthStoreRoleProvider.cs (1)
238} catch (TargetInvocationException e) {
UI\Util.cs (1)
552catch (TargetInvocationException e) {
System.Web.DataVisualization (3)
Common\General\Chart.cs (1)
461catch (TargetInvocationException)
Common\Utilities\XmlSerializer.cs (2)
795catch (TargetInvocationException) 814catch (TargetInvocationException)
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceView.cs (1)
235catch (TargetInvocationException e)
System.Web.Extensions (1)
Script\Services\RestHandler.cs (1)
232if (ex is TargetInvocationException) {
System.Web.Mobile (2)
UI\MobileControls\Adapters\WmlPageAdapter.cs (1)
210(e is System.Reflection.TargetInvocationException && e.InnerException != null))
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (1)
659catch (TargetInvocationException ex)
System.Web.Services (1)
System\Web\Services\Protocols\WebServiceHandler.cs (1)
83if (e is TargetInvocationException) {
System.Windows.Forms (8)
winforms\Managed\System\Resources\ResXResourceReader.cs (2)
413catch (TargetInvocationException tie) { 417TargetInvocationException newTie = new TargetInvocationException(newMessage, xml);
winforms\Managed\System\WinForms\BindingSource.cs (1)
702catch (TargetInvocationException ex) {
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (1)
557catch (TargetInvocationException e) {
winforms\Managed\System\WinForms\Formatter.cs (1)
439catch (TargetInvocationException ex) {
winforms\Managed\System\WinForms\ListBindingHelper.cs (1)
274catch (TargetInvocationException ex) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
4985if (ex is System.Reflection.TargetInvocationException) 5068if (ex is System.Reflection.TargetInvocationException) {
System.Windows.Forms.DataVisualization (3)
Common\General\Chart.cs (1)
461catch (TargetInvocationException)
Common\Utilities\XmlSerializer.cs (2)
795catch (TargetInvocationException) 814catch (TargetInvocationException)
System.Workflow.Activities (8)
Common\BasePropertyDescriptor.cs (2)
102if (t is TargetInvocationException && t.InnerException != null) 531if (t is TargetInvocationException && t.InnerException != null)
InvokeWebService.cs (1)
140catch (TargetInvocationException e)
Rules\Executor.cs (2)
125catch (TargetInvocationException e) 151catch (TargetInvocationException e)
Rules\Expressions.cs (2)
1609catch (TargetInvocationException e) 3115catch (TargetInvocationException e)
Rules\Parser\Parser.cs (1)
2769catch (TargetInvocationException invokeEx)
System.Workflow.ComponentModel (17)
AuthoringOM\Bind.cs (6)
1060TargetInvocationException targetInvocationException = exception as TargetInvocationException; 1107TargetInvocationException targetInvocationException = exception as TargetInvocationException; 1128TargetInvocationException targetInvocationException = exception as TargetInvocationException;
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (1)
576while (e is TargetInvocationException)
AuthoringOM\Compiler\XomlCompilerHelpers.cs (2)
168catch (TargetInvocationException tie) 681catch (TargetInvocationException tie)
AuthoringOM\Design\DesignerHelpers.cs (1)
1442while (e is TargetInvocationException && e.InnerException != null)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (5)
843while (e is TargetInvocationException && e.InnerException != null) 982while (e is TargetInvocationException && e.InnerException != null) 2000while (e is TargetInvocationException && e.InnerException != null) 2034while (e is TargetInvocationException && e.InnerException != null) 2044while (e is TargetInvocationException && e.InnerException != null)
Shared\BasePropertyDescriptor.cs (2)
101if (t is TargetInvocationException && t.InnerException != null) 530if (t is TargetInvocationException && t.InnerException != null)
System.WorkflowServices (3)
System\Workflow\Activities\SendActivity.cs (1)
556catch (TargetInvocationException e)
System\Workflow\Runtime\Hosting\ChannelManagerHelpers.cs (2)
137catch (TargetInvocationException exception) 203catch (TargetInvocationException exception)
System.Xml (2)
System\Xml\Serialization\XmlSerializer.cs (2)
350if (e is TargetInvocationException) 427if (e is TargetInvocationException)
WindowsBase (2)
Base\MS\Internal\CriticalExceptions.cs (1)
56( ex is System.Reflection.TargetInvocationException
Shared\MS\Internal\ReaderWriterLockSlimWrapper.cs (1)
298catch (TargetInvocationException ex) when (ex.InnerException != null)