Code:
/ DotNET / DotNET / 8.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
- Point3DValueSerializer.cs
- WebServiceClientProxyGenerator.cs
- ContentElementAutomationPeer.cs
- DataBindEngine.cs
- UnknownWrapper.cs
- XmlDocumentType.cs
- Formatter.cs
- ExtentCqlBlock.cs
- VarInfo.cs
- Route.cs
- CodeBinaryOperatorExpression.cs
- DataGridState.cs
- UserControl.cs
- TraceUtility.cs
- ParallelTimeline.cs
- Volatile.cs
- KnownBoxes.cs
- RedistVersionInfo.cs
- DataGridViewHitTestInfo.cs
- HwndHostAutomationPeer.cs
- MsmqReceiveParameters.cs
- ObjectDataSourceDisposingEventArgs.cs
- WebPartTracker.cs
- DeclaredTypeElementCollection.cs
- SharedStream.cs
- WebPartZone.cs
- InlinedAggregationOperator.cs
- _OSSOCK.cs
- BulletDecorator.cs
- RtfFormatStack.cs
- LockedAssemblyCache.cs
- NumberAction.cs
- FactoryGenerator.cs
- KnownTypeAttribute.cs
- ValidationErrorEventArgs.cs
- Converter.cs
- TextEmbeddedObject.cs
- invalidudtexception.cs
- RadialGradientBrush.cs
- StringComparer.cs
- RawUIStateInputReport.cs
- UIAgentCrashedException.cs
- MultipartIdentifier.cs
- CollectionsUtil.cs
- IdentityManager.cs
- BufferedStream2.cs
- ContextMarshalException.cs
- PagesSection.cs
- RewritingValidator.cs
- TreeNode.cs
- MenuCommand.cs
- RtfToXamlReader.cs
- IERequestCache.cs
- BufferAllocator.cs
- ControlSerializer.cs
- MsmqBindingBase.cs
- SendKeys.cs
- FlowNode.cs
- Point3DAnimation.cs
- IOException.cs
- ArglessEventHandlerProxy.cs
- ZeroOpNode.cs
- EventRecordWrittenEventArgs.cs
- EmptyEnumerator.cs
- KeyValuePair.cs
- XmlPropertyBag.cs
- ManagedWndProcTracker.cs
- Propagator.ExtentPlaceholderCreator.cs
- WebPartConnectionsCancelEventArgs.cs
- PrivacyNoticeBindingElement.cs
- hwndwrapper.cs
- Transactions.cs
- UInt32Converter.cs
- Stylesheet.cs
- UnrecognizedAssertionsBindingElement.cs
- InfoCardConstants.cs
- XamlTreeBuilder.cs
- SchemaTableOptionalColumn.cs
- DataTableReader.cs
- TimeoutConverter.cs
- TextEditorCopyPaste.cs
- EmptyControlCollection.cs
- CompilerErrorCollection.cs
- ObjectIDGenerator.cs
- SendKeys.cs
- AnimationClock.cs
- ObjectCacheHost.cs
- TypefaceMap.cs
- shaper.cs
- DateTimeValueSerializerContext.cs
- WebProxyScriptElement.cs
- MultiPropertyDescriptorGridEntry.cs
- DataGridViewRowPostPaintEventArgs.cs
- GridViewColumnCollection.cs
- TimeManager.cs
- WebChannelFactory.cs
- DetailsViewPagerRow.cs
- AnimationStorage.cs
- PriorityChain.cs
- DataGridViewAdvancedBorderStyle.cs