Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Reflection / TargetException.cs / 1 / TargetException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// // // TargetException is thrown when the target to an Invoke is invalid. This may // occur because the caller doesn't have access to the member, or the target doesn't // define the member, etc. // // // // namespace System.Reflection { using System; using System.Runtime.Serialization; [Serializable()] [System.Runtime.InteropServices.ComVisible(true)] public class TargetException : ApplicationException { public TargetException() : base() { SetErrorCode(__HResults.COR_E_TARGET); } public TargetException(String message) : base(message) { SetErrorCode(__HResults.COR_E_TARGET); } public TargetException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_TARGET); } protected TargetException(SerializationInfo info, StreamingContext context) : base (info, context) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DrawingContextWalker.cs
- StreamMarshaler.cs
- TableRowGroup.cs
- ProviderException.cs
- Environment.cs
- Rfc2898DeriveBytes.cs
- SelectionProviderWrapper.cs
- EntityTypeEmitter.cs
- SpeakInfo.cs
- AttributeQuery.cs
- Vector3DIndependentAnimationStorage.cs
- Font.cs
- TextContainer.cs
- TypedColumnHandler.cs
- Pair.cs
- WebRequest.cs
- XmlComment.cs
- StackBuilderSink.cs
- SubMenuStyleCollection.cs
- OleDbParameter.cs
- ObjectListCommandsPage.cs
- PropertyTabChangedEvent.cs
- SafeNativeMethods.cs
- PathFigureCollection.cs
- XmlDataProvider.cs
- NameValueFileSectionHandler.cs
- ReadOnlyMetadataCollection.cs
- CheckBoxList.cs
- DataException.cs
- CodeCastExpression.cs
- TdsParameterSetter.cs
- CultureNotFoundException.cs
- FontInfo.cs
- PropertyBuilder.cs
- initElementDictionary.cs
- PageAsyncTaskManager.cs
- DynamicMethod.cs
- SortKey.cs
- MethodImplAttribute.cs
- XmlLinkedNode.cs
- PrtTicket_Editor.cs
- RectAnimationUsingKeyFrames.cs
- FloaterParaClient.cs
- ViewLoader.cs
- Registry.cs
- GlobalEventManager.cs
- VectorAnimationUsingKeyFrames.cs
- Int64KeyFrameCollection.cs
- Transform3D.cs
- ManipulationCompletedEventArgs.cs
- XmlKeywords.cs
- ReadWriteObjectLock.cs
- UpdateTranslator.cs
- PrintDocument.cs
- TripleDESCryptoServiceProvider.cs
- AccessViolationException.cs
- SQLDecimalStorage.cs
- CompiledXpathExpr.cs
- Command.cs
- EventProviderTraceListener.cs
- GridItem.cs
- VectorKeyFrameCollection.cs
- TypeValidationEventArgs.cs
- JournalEntryListConverter.cs
- ScaleTransform.cs
- OutOfMemoryException.cs
- HttpListenerContext.cs
- PagesSection.cs
- HtmlElementCollection.cs
- JsonCollectionDataContract.cs
- StringAnimationUsingKeyFrames.cs
- WizardForm.cs
- StorageConditionPropertyMapping.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- Point3DCollectionConverter.cs
- EnumConverter.cs
- BindingCollection.cs
- ThousandthOfEmRealPoints.cs
- RolePrincipal.cs
- OutputCacheProfileCollection.cs
- SplitterEvent.cs
- EntityDataSourceContextCreatedEventArgs.cs
- QueryOperator.cs
- BitmapMetadataEnumerator.cs
- ProfileSettingsCollection.cs
- ExeContext.cs
- SoapTypeAttribute.cs
- NumberFunctions.cs
- TTSVoice.cs
- SystemEvents.cs
- SR.cs
- TimeSpanConverter.cs
- ETagAttribute.cs
- messageonlyhwndwrapper.cs
- OptionalRstParameters.cs
- EventLogPermission.cs
- ToolBar.cs
- ControlBuilder.cs
- ConnectorEditor.cs
- EditorZone.cs