Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / Reflection / TargetInvocationException.cs / 1 / TargetInvocationException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// // // TargetInvocationException is used to report an exception that was thrown // by the target of an invocation. // // // // namespace System.Reflection { using System; using System.Runtime.Serialization; [Serializable()] [System.Runtime.InteropServices.ComVisible(true)] public sealed class TargetInvocationException : ApplicationException { // This exception is not creatable without specifying the // inner exception. private TargetInvocationException() : base(Environment.GetResourceString("Arg_TargetInvocationException")) { SetErrorCode(__HResults.COR_E_TARGETINVOCATION); } // This is called from within the runtime. private TargetInvocationException(String message) : base(message) { SetErrorCode(__HResults.COR_E_TARGETINVOCATION); } public TargetInvocationException(System.Exception inner) : base(Environment.GetResourceString("Arg_TargetInvocationException"), inner) { SetErrorCode(__HResults.COR_E_TARGETINVOCATION); } public TargetInvocationException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_TARGETINVOCATION); } internal TargetInvocationException(SerializationInfo info, StreamingContext context) : base (info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// // // TargetInvocationException is used to report an exception that was thrown // by the target of an invocation. // // // // namespace System.Reflection { using System; using System.Runtime.Serialization; [Serializable()] [System.Runtime.InteropServices.ComVisible(true)] public sealed class TargetInvocationException : ApplicationException { // This exception is not creatable without specifying the // inner exception. private TargetInvocationException() : base(Environment.GetResourceString("Arg_TargetInvocationException")) { SetErrorCode(__HResults.COR_E_TARGETINVOCATION); } // This is called from within the runtime. private TargetInvocationException(String message) : base(message) { SetErrorCode(__HResults.COR_E_TARGETINVOCATION); } public TargetInvocationException(System.Exception inner) : base(Environment.GetResourceString("Arg_TargetInvocationException"), inner) { SetErrorCode(__HResults.COR_E_TARGETINVOCATION); } public TargetInvocationException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_TARGETINVOCATION); } internal TargetInvocationException(SerializationInfo info, StreamingContext context) : base (info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextSpan.cs
- GridViewRowPresenter.cs
- WebPartExportVerb.cs
- DesignerGenericWebPart.cs
- StandardCommands.cs
- CopyOnWriteList.cs
- SizeConverter.cs
- RawStylusSystemGestureInputReport.cs
- NotCondition.cs
- CqlLexer.cs
- XmlSequenceWriter.cs
- TraversalRequest.cs
- StatusBarItem.cs
- MimeTypePropertyAttribute.cs
- TemplateNameScope.cs
- ByteAnimationBase.cs
- CellConstant.cs
- IssuedTokensHeader.cs
- CodeNamespace.cs
- DataGridParentRows.cs
- RoleManagerModule.cs
- MemoryStream.cs
- Geometry3D.cs
- CapabilitiesRule.cs
- ThemeInfoAttribute.cs
- SafeSecurityHelper.cs
- SqlMethods.cs
- ReflectionHelper.cs
- TextFindEngine.cs
- RelativeSource.cs
- PageMediaSize.cs
- UpdateProgress.cs
- HorizontalAlignConverter.cs
- QilInvokeLateBound.cs
- DiscardableAttribute.cs
- NotifyParentPropertyAttribute.cs
- SqlMethods.cs
- BinaryUtilClasses.cs
- PointValueSerializer.cs
- QueryOptionExpression.cs
- NullableConverter.cs
- TextBox.cs
- RegisteredDisposeScript.cs
- XmlWhitespace.cs
- FormatStringEditor.cs
- BinHexDecoder.cs
- ObservableCollection.cs
- Lasso.cs
- SelfIssuedAuthProofToken.cs
- TextBox.cs
- XamlSerializerUtil.cs
- BaseParser.cs
- SelectionEditingBehavior.cs
- ProcessStartInfo.cs
- SqlFunctionAttribute.cs
- Exceptions.cs
- ListViewHitTestInfo.cs
- InternalDuplexChannelListener.cs
- UnionExpr.cs
- XamlInt32CollectionSerializer.cs
- MetafileEditor.cs
- ResourcePool.cs
- Interlocked.cs
- TransformationRules.cs
- ProcessModule.cs
- HGlobalSafeHandle.cs
- FontStyles.cs
- IdentityHolder.cs
- AppLevelCompilationSectionCache.cs
- SendMailErrorEventArgs.cs
- SqlGenericUtil.cs
- RepeaterItemEventArgs.cs
- Set.cs
- Cloud.cs
- PropertyKey.cs
- Margins.cs
- Package.cs
- MemberDomainMap.cs
- AttributeCollection.cs
- control.ime.cs
- PropertyStore.cs
- PropertyConverter.cs
- SqlOuterApplyReducer.cs
- DataExpression.cs
- WebPartActionVerb.cs
- RewritingSimplifier.cs
- TabletDevice.cs
- ListSortDescription.cs
- GradientPanel.cs
- EntityKey.cs
- LinqDataSourceSelectEventArgs.cs
- EntityRecordInfo.cs
- Int16KeyFrameCollection.cs
- ResourceProviderFactory.cs
- DataServiceRequestException.cs
- TypeDescriptor.cs
- ExpressionLink.cs
- XmlObjectSerializer.cs
- MergeEnumerator.cs
- SafeHandle.cs