Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Reflection / TargetParameterCountException.cs / 1305376 / TargetParameterCountException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// // // TargetParameterCountException is thrown when the number of parameter to an // //[....] // invocation doesn't match the number expected. // // // // namespace System.Reflection { using System; using SystemException = System.SystemException; using System.Runtime.Serialization; [Serializable] [System.Runtime.InteropServices.ComVisible(true)] #if FEATURE_CORECLR public sealed class TargetParameterCountException : Exception { // hack to make thinner happy #if false } #endif #else public sealed class TargetParameterCountException : ApplicationException { #endif //FEATURE_CORECLR public TargetParameterCountException() : base(Environment.GetResourceString("Arg_TargetParameterCountException")) { SetErrorCode(__HResults.COR_E_TARGETPARAMCOUNT); } public TargetParameterCountException(String message) : base(message) { SetErrorCode(__HResults.COR_E_TARGETPARAMCOUNT); } public TargetParameterCountException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_TARGETPARAMCOUNT); } internal TargetParameterCountException(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
- CategoryAttribute.cs
- BitmapEffectGroup.cs
- ListView.cs
- ServicePointManagerElement.cs
- PathData.cs
- DataRowChangeEvent.cs
- XmlQualifiedNameTest.cs
- URLAttribute.cs
- Stack.cs
- SuppressIldasmAttribute.cs
- QilNode.cs
- DataConnectionHelper.cs
- DictionaryBase.cs
- DictionaryBase.cs
- Message.cs
- DataRowCollection.cs
- ExceptionHelpers.cs
- ColorTransform.cs
- DataRelationPropertyDescriptor.cs
- followingsibling.cs
- FileChangesMonitor.cs
- NeutralResourcesLanguageAttribute.cs
- Int16Animation.cs
- WebDisplayNameAttribute.cs
- util.cs
- BaseTemplateBuildProvider.cs
- DataGridColumnHeaderCollection.cs
- EditingScopeUndoUnit.cs
- HtmlInputControl.cs
- DataGridHelper.cs
- Assert.cs
- manifestimages.cs
- ImpersonateTokenRef.cs
- StructureChangedEventArgs.cs
- DataGridDetailsPresenter.cs
- SafeNativeMethods.cs
- LogicalChannel.cs
- DataGridViewTopRowAccessibleObject.cs
- PreservationFileWriter.cs
- SiteMapDataSourceView.cs
- ControlCachePolicy.cs
- DefaultMergeHelper.cs
- DataGridViewElement.cs
- SecurityPolicySection.cs
- WorkflowDebuggerSteppingAttribute.cs
- WindowsTooltip.cs
- Span.cs
- ToolBarPanel.cs
- MarkupExtensionReturnTypeAttribute.cs
- panel.cs
- RegionData.cs
- SimpleTypeResolver.cs
- ValueProviderWrapper.cs
- XmlAttributeCollection.cs
- RelatedView.cs
- XAMLParseException.cs
- WebPartConnectionsCancelVerb.cs
- HiddenFieldPageStatePersister.cs
- ProviderMetadata.cs
- XamlToRtfWriter.cs
- DbConnectionStringCommon.cs
- _LocalDataStore.cs
- RadioButtonList.cs
- ConfigXmlDocument.cs
- AppSecurityManager.cs
- UInt64.cs
- TTSEngineProxy.cs
- AttributeUsageAttribute.cs
- TerminatorSinks.cs
- ComAdminWrapper.cs
- coordinator.cs
- MailDefinition.cs
- WindowsSidIdentity.cs
- EmbeddedMailObjectsCollection.cs
- SystemColorTracker.cs
- ColumnPropertiesGroup.cs
- StringArrayConverter.cs
- _ListenerRequestStream.cs
- XhtmlBasicCalendarAdapter.cs
- HtmlElementErrorEventArgs.cs
- WaitHandle.cs
- WebPart.cs
- ClientFormsIdentity.cs
- DbXmlEnabledProviderManifest.cs
- FixedDSBuilder.cs
- FixedPosition.cs
- ProxyAttribute.cs
- PresentationSource.cs
- TimeSpanOrInfiniteValidator.cs
- StubHelpers.cs
- Slider.cs
- EditorPartCollection.cs
- HttpResponseInternalWrapper.cs
- sortedlist.cs
- KnownBoxes.cs
- XmlName.cs
- sqlstateclientmanager.cs
- GlobalAllocSafeHandle.cs
- StrokeCollection.cs
- FullTextBreakpoint.cs