Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Reflection / TargetException.cs / 1305376 / 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)] #if FEATURE_CORECLR public class TargetException : Exception { #if false } #endif #else public class TargetException : ApplicationException { #endif //FEATURE_CORECLR 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- UnhandledExceptionEventArgs.cs
- SuppressIldasmAttribute.cs
- ApplicationServiceHelper.cs
- LineProperties.cs
- WebPartExportVerb.cs
- SortAction.cs
- TextParagraph.cs
- ListBoxAutomationPeer.cs
- TrustLevelCollection.cs
- ToolboxItemSnapLineBehavior.cs
- UrlMappingsModule.cs
- ListSourceHelper.cs
- WindowsPrincipal.cs
- CodeLabeledStatement.cs
- CriticalHandle.cs
- _ListenerResponseStream.cs
- DataContractSerializerFaultFormatter.cs
- DictionaryChange.cs
- _RequestLifetimeSetter.cs
- WorkerRequest.cs
- SoapSchemaExporter.cs
- ControlAdapter.cs
- SerializationSectionGroup.cs
- ListViewDataItem.cs
- _UriSyntax.cs
- PolicyException.cs
- WmlObjectListAdapter.cs
- RuntimeEnvironment.cs
- EFColumnProvider.cs
- CardSpaceSelector.cs
- ScriptManager.cs
- Stack.cs
- SynchronizedInputPattern.cs
- Transform3DGroup.cs
- AssertHelper.cs
- Utils.cs
- TextEditorContextMenu.cs
- WeakReferenceEnumerator.cs
- InstanceKeyCompleteException.cs
- ZipIOModeEnforcingStream.cs
- HtmlEmptyTagControlBuilder.cs
- TransformDescriptor.cs
- Util.cs
- UpdateRecord.cs
- ParseNumbers.cs
- WebPartConnectVerb.cs
- NavigationWindow.cs
- CapabilitiesPattern.cs
- XsdDataContractExporter.cs
- StandardToolWindows.cs
- basenumberconverter.cs
- __ComObject.cs
- IHttpResponseInternal.cs
- BindingGroup.cs
- PageScaling.cs
- LocationUpdates.cs
- SystemKeyConverter.cs
- ADMembershipUser.cs
- NopReturnReader.cs
- IsolatedStorageFileStream.cs
- AtlasWeb.Designer.cs
- SchemaTypeEmitter.cs
- DirectoryRedirect.cs
- PlainXmlDeserializer.cs
- MetadataArtifactLoader.cs
- InputEventArgs.cs
- Collection.cs
- OleDbFactory.cs
- HelloOperationCD1AsyncResult.cs
- BCLDebug.cs
- MimeFormReflector.cs
- metadatamappinghashervisitor.cs
- ConnectionsZone.cs
- DoubleStorage.cs
- DeobfuscatingStream.cs
- ProfilePropertyNameValidator.cs
- ChtmlTextBoxAdapter.cs
- XmlTypeMapping.cs
- MessageSmuggler.cs
- Timer.cs
- SchemaMerger.cs
- GradientStop.cs
- SqlDataSource.cs
- EdmToObjectNamespaceMap.cs
- StringValueSerializer.cs
- VisualStateGroup.cs
- XmlWriterSettings.cs
- ListCollectionView.cs
- XmlQueryType.cs
- DataSysAttribute.cs
- PackagePartCollection.cs
- HandlerBase.cs
- CacheEntry.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- TileModeValidation.cs
- Vector3DAnimationUsingKeyFrames.cs
- DecimalConstantAttribute.cs
- securestring.cs
- UnknownBitmapDecoder.cs
- DesignerForm.cs