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
- ChangePassword.cs
- XslException.cs
- Transform3DGroup.cs
- RuntimeWrappedException.cs
- ConfigurationException.cs
- RawAppCommandInputReport.cs
- DataGridHelper.cs
- ElementInit.cs
- AssemblyBuilder.cs
- DefaultEventAttribute.cs
- ProfileProvider.cs
- ObjectFullSpanRewriter.cs
- OleDbMetaDataFactory.cs
- XmlHierarchicalDataSourceView.cs
- WinFormsSecurity.cs
- SvcMapFile.cs
- ManifestSignedXml.cs
- SoapObjectInfo.cs
- ExceptionUtil.cs
- XmlnsDefinitionAttribute.cs
- GestureRecognitionResult.cs
- ExtractedStateEntry.cs
- SqlSupersetValidator.cs
- PageThemeCodeDomTreeGenerator.cs
- MarkupWriter.cs
- SelectionItemPatternIdentifiers.cs
- SafeSerializationManager.cs
- baseaxisquery.cs
- DispatchWrapper.cs
- updatecommandorderer.cs
- XPathNodeInfoAtom.cs
- bidPrivateBase.cs
- ControlPaint.cs
- ApplicationFileParser.cs
- Panel.cs
- TextBlockAutomationPeer.cs
- ByteAnimationUsingKeyFrames.cs
- XPathItem.cs
- ReaderContextStackData.cs
- AjaxFrameworkAssemblyAttribute.cs
- SqlDataReaderSmi.cs
- OledbConnectionStringbuilder.cs
- ListViewItem.cs
- SelectionChangedEventArgs.cs
- PointCollection.cs
- PingReply.cs
- LinqMaximalSubtreeNominator.cs
- WebPartEditorOkVerb.cs
- EnvelopeVersion.cs
- mediaeventargs.cs
- _CacheStreams.cs
- MemoryPressure.cs
- TypeInitializationException.cs
- MutableAssemblyCacheEntry.cs
- FrameAutomationPeer.cs
- RouteItem.cs
- EnumType.cs
- BinHexEncoder.cs
- JsonSerializer.cs
- PixelFormats.cs
- ChtmlCommandAdapter.cs
- SQLInt32Storage.cs
- MailMessageEventArgs.cs
- RenderingEventArgs.cs
- TextRange.cs
- ExpressionSelection.cs
- StackBuilderSink.cs
- ObjectItemCachedAssemblyLoader.cs
- CodeSnippetCompileUnit.cs
- WebBrowserHelper.cs
- MetabaseServerConfig.cs
- Globals.cs
- MtomMessageEncodingElement.cs
- followingsibling.cs
- Invariant.cs
- Pkcs7Recipient.cs
- CombinedGeometry.cs
- UnsafeNativeMethods.cs
- TokenizerHelper.cs
- SmtpAuthenticationManager.cs
- DependencyProperty.cs
- HtmlInputSubmit.cs
- DBSchemaRow.cs
- TraceSource.cs
- XmlQueryStaticData.cs
- CapabilitiesAssignment.cs
- PeerInvitationResponse.cs
- SkinBuilder.cs
- TreeNodeEventArgs.cs
- XmlSerializerSection.cs
- UpdateTranslator.cs
- SiteMembershipCondition.cs
- MdiWindowListStrip.cs
- ChannelCredentials.cs
- XmlTextReaderImplHelpers.cs
- CmsInterop.cs
- Deflater.cs
- SHA256.cs
- SynchronizedReadOnlyCollection.cs
- DataPagerFieldCollection.cs