Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Runtime / InteropServices / MarshalDirectiveException.cs / 1 / MarshalDirectiveException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: MarshalDirectiveException ** ** Purpose: This exception is thrown when the marshaller encounters a signature ** that has an invalid MarshalAs CA for a given argument or is not ** supported. ** =============================================================================*/ namespace System.Runtime.InteropServices { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class MarshalDirectiveException : SystemException { public MarshalDirectiveException() : base(Environment.GetResourceString("Arg_MarshalDirectiveException")) { SetErrorCode(__HResults.COR_E_MARSHALDIRECTIVE); } public MarshalDirectiveException(String message) : base(message) { SetErrorCode(__HResults.COR_E_MARSHALDIRECTIVE); } public MarshalDirectiveException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_MARSHALDIRECTIVE); } protected MarshalDirectiveException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StateMachineExecutionState.cs
- DataGridViewCellMouseEventArgs.cs
- ExpressionNode.cs
- ComboBoxRenderer.cs
- Rectangle.cs
- FontStretchConverter.cs
- VectorConverter.cs
- FrugalList.cs
- DbDataSourceEnumerator.cs
- FigureHelper.cs
- ColumnMapProcessor.cs
- XmlSchemaSimpleContentRestriction.cs
- ValidatingReaderNodeData.cs
- PerformanceCounterManager.cs
- InheritanceAttribute.cs
- TextTreeExtractElementUndoUnit.cs
- RuntimeArgumentHandle.cs
- SqlCacheDependencySection.cs
- HttpContext.cs
- XmlPropertyBag.cs
- TransportReplyChannelAcceptor.cs
- ValidationRule.cs
- UserPreferenceChangedEventArgs.cs
- CompositionAdorner.cs
- FunctionImportElement.cs
- StrongNameMembershipCondition.cs
- HandledEventArgs.cs
- Path.cs
- SpellerError.cs
- DbModificationCommandTree.cs
- NetworkAddressChange.cs
- AnonymousIdentificationSection.cs
- TimeoutTimer.cs
- PasswordBox.cs
- SuppressMessageAttribute.cs
- DecoderFallbackWithFailureFlag.cs
- WeakEventTable.cs
- NamedPipeDuplicateContext.cs
- FieldAccessException.cs
- AstNode.cs
- CodeTypeMemberCollection.cs
- PrivateFontCollection.cs
- Int64KeyFrameCollection.cs
- TdsEnums.cs
- DataGridViewColumnDesigner.cs
- TreeViewHitTestInfo.cs
- SecureStringHasher.cs
- SmiTypedGetterSetter.cs
- TableLayoutSettings.cs
- WasHttpModulesInstallComponent.cs
- SocketAddress.cs
- AttributedMetaModel.cs
- HandledMouseEvent.cs
- HtmlFormParameterWriter.cs
- IndentTextWriter.cs
- MruCache.cs
- MultiSelector.cs
- ContextMenuStripActionList.cs
- AssertUtility.cs
- _SingleItemRequestCache.cs
- METAHEADER.cs
- SQLStringStorage.cs
- StringArrayConverter.cs
- NameValueConfigurationCollection.cs
- DesignerSerializerAttribute.cs
- Row.cs
- FillBehavior.cs
- EventItfInfo.cs
- ListCollectionView.cs
- MetadataLocation.cs
- Vector3DAnimationUsingKeyFrames.cs
- WindowsFormsLinkLabel.cs
- HeaderElement.cs
- WindowsListViewItem.cs
- TakeOrSkipQueryOperator.cs
- CompilationSection.cs
- ObjectDataSourceSelectingEventArgs.cs
- EarlyBoundInfo.cs
- SigningDialog.cs
- DataSourceXmlClassAttribute.cs
- MappingException.cs
- ExcludeFromCodeCoverageAttribute.cs
- ParallelEnumerableWrapper.cs
- PostBackTrigger.cs
- SqlExpander.cs
- BaseTemplateBuildProvider.cs
- CompensateDesigner.cs
- CookieProtection.cs
- DataIdProcessor.cs
- ellipse.cs
- XmlAnyElementAttribute.cs
- BrowserCapabilitiesCodeGenerator.cs
- XmlNullResolver.cs
- AppDomain.cs
- SynchronizationValidator.cs
- RootBuilder.cs
- WizardStepBase.cs
- CodeAttributeArgumentCollection.cs
- ObjectStateFormatter.cs
- HttpException.cs