Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // 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) { } } } // 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
- SaveFileDialog.cs
- XhtmlStyleClass.cs
- CfgSemanticTag.cs
- TaskHelper.cs
- _HeaderInfo.cs
- StateMachineWorkflowInstance.cs
- DecoderFallback.cs
- Exceptions.cs
- CodeTypeOfExpression.cs
- ByteAnimationUsingKeyFrames.cs
- MailDefinition.cs
- TypeListConverter.cs
- CodeExpressionStatement.cs
- StringUtil.cs
- SmtpTransport.cs
- StateWorkerRequest.cs
- TextTreeRootNode.cs
- RemotingServices.cs
- VersionConverter.cs
- TraceHwndHost.cs
- DbConnectionPoolCounters.cs
- ResourcePart.cs
- CultureInfo.cs
- DependencyObjectType.cs
- CodeTypeReferenceSerializer.cs
- assemblycache.cs
- BufferedGraphicsManager.cs
- TextEditorLists.cs
- BaseParaClient.cs
- MachineKeySection.cs
- ReadOnlyDictionary.cs
- SecurityDocument.cs
- ResolveDuplexCD1AsyncResult.cs
- SR.cs
- ComPlusTraceRecord.cs
- ReadOnlyDataSourceView.cs
- XPathSelectionIterator.cs
- templategroup.cs
- GridSplitter.cs
- SqlBooleanizer.cs
- UnsafeNativeMethods.cs
- ConfigurationManagerInternal.cs
- StatusBarPanel.cs
- StyleHelper.cs
- DataGridViewColumnConverter.cs
- TeredoHelper.cs
- BooleanToVisibilityConverter.cs
- DataGridViewRowHeaderCell.cs
- ChildChangedEventArgs.cs
- CellTreeNode.cs
- dsa.cs
- AssociationType.cs
- Exception.cs
- SessionStateContainer.cs
- BamlResourceContent.cs
- Serializer.cs
- PagesChangedEventArgs.cs
- Win32Interop.cs
- DesignerEditorPartChrome.cs
- ColumnCollection.cs
- MouseActionValueSerializer.cs
- NetTcpBindingCollectionElement.cs
- ValueTypeFixupInfo.cs
- TdsParserHelperClasses.cs
- FormsAuthenticationModule.cs
- XmlNodeChangedEventArgs.cs
- TextOnlyOutput.cs
- CodeExpressionStatement.cs
- DragCompletedEventArgs.cs
- NotFiniteNumberException.cs
- XmlCDATASection.cs
- Localizer.cs
- View.cs
- SortKey.cs
- WindowsProgressbar.cs
- FileStream.cs
- DirectoryInfo.cs
- ObjectTag.cs
- ProcessHostFactoryHelper.cs
- ReliabilityContractAttribute.cs
- DelegatingTypeDescriptionProvider.cs
- OleDbCommandBuilder.cs
- HtmlInputHidden.cs
- EntityKeyElement.cs
- DatePickerDateValidationErrorEventArgs.cs
- WebPartEditorOkVerb.cs
- SharedStream.cs
- JoinElimination.cs
- DefaultValueTypeConverter.cs
- StrokeCollection2.cs
- ToolStripDesignerAvailabilityAttribute.cs
- UInt64.cs
- IndexingContentUnit.cs
- PointAnimationClockResource.cs
- BypassElement.cs
- EmptyEnumerator.cs
- XmlArrayAttribute.cs
- BatchWriter.cs
- SeverityFilter.cs
- FloaterParagraph.cs