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
- HttpHandlersSection.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- DecoderFallbackWithFailureFlag.cs
- CompiledRegexRunnerFactory.cs
- UiaCoreApi.cs
- ErrorTolerantObjectWriter.cs
- AutomationPatternInfo.cs
- CursorInteropHelper.cs
- TextEndOfSegment.cs
- DESCryptoServiceProvider.cs
- Maps.cs
- AssemblyName.cs
- MarkedHighlightComponent.cs
- basemetadatamappingvisitor.cs
- ArrayListCollectionBase.cs
- XamlStyleSerializer.cs
- UnsafePeerToPeerMethods.cs
- ReflectEventDescriptor.cs
- CodeIdentifier.cs
- ConfigLoader.cs
- PointConverter.cs
- AutomationPattern.cs
- ComponentGuaranteesAttribute.cs
- ISO2022Encoding.cs
- TextStore.cs
- SystemWebSectionGroup.cs
- ClientTarget.cs
- CheckBoxStandardAdapter.cs
- ResourcePool.cs
- List.cs
- ViewStateModeByIdAttribute.cs
- BasePropertyDescriptor.cs
- SerializerDescriptor.cs
- SessionPageStateSection.cs
- JapaneseCalendar.cs
- XmlNullResolver.cs
- XmlSchemaResource.cs
- Substitution.cs
- DbConnectionHelper.cs
- COM2ExtendedUITypeEditor.cs
- ResourceBinder.cs
- JulianCalendar.cs
- ProxyWebPartManager.cs
- EdmError.cs
- ServiceModelConfiguration.cs
- StrokeNodeData.cs
- PackWebRequestFactory.cs
- InitializationEventAttribute.cs
- CTreeGenerator.cs
- InternalPolicyElement.cs
- HGlobalSafeHandle.cs
- Vector3DCollection.cs
- HttpConfigurationContext.cs
- Set.cs
- FlowDocumentPaginator.cs
- AuthorizationRuleCollection.cs
- EntitySqlQueryState.cs
- ReflectTypeDescriptionProvider.cs
- ReachDocumentReferenceSerializer.cs
- BitmapMetadataEnumerator.cs
- ExtensionMethods.cs
- SkipStoryboardToFill.cs
- LogSwitch.cs
- LateBoundBitmapDecoder.cs
- AuthenticationService.cs
- CollectionChangeEventArgs.cs
- NameValueCollection.cs
- TemplateBamlRecordReader.cs
- CreateUserWizard.cs
- MDIClient.cs
- DateTimeConverter.cs
- Trustee.cs
- ISAPIRuntime.cs
- EventMap.cs
- RelationshipType.cs
- SetterBase.cs
- BoundField.cs
- XPathException.cs
- Visual3DCollection.cs
- ContactManager.cs
- MultiTrigger.cs
- FileDialog_Vista.cs
- ObsoleteAttribute.cs
- SoapUnknownHeader.cs
- MailDefinition.cs
- PipeStream.cs
- GraphicsContext.cs
- MetabaseServerConfig.cs
- RecordBuilder.cs
- TimerElapsedEvenArgs.cs
- SystemResources.cs
- FormView.cs
- TransportSecurityProtocolFactory.cs
- _SingleItemRequestCache.cs
- MethodRental.cs
- XmlSchemaProviderAttribute.cs
- CodeSubDirectoriesCollection.cs
- TdsParser.cs
- AlternationConverter.cs
- UserMapPath.cs