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
- FtpWebResponse.cs
- Serializer.cs
- _Win32.cs
- CollectionBuilder.cs
- ImageAutomationPeer.cs
- SystemKeyConverter.cs
- PasswordRecoveryDesigner.cs
- SizeChangedEventArgs.cs
- Walker.cs
- InstanceLockedException.cs
- FormParameter.cs
- RedBlackList.cs
- SystemUdpStatistics.cs
- MenuCommands.cs
- XmlDeclaration.cs
- RegexWorker.cs
- StyleTypedPropertyAttribute.cs
- XmlSigningNodeWriter.cs
- WebProxyScriptElement.cs
- hebrewshape.cs
- DataShape.cs
- ObjectTag.cs
- Transform3DGroup.cs
- AccessDataSource.cs
- JobInputBins.cs
- GatewayDefinition.cs
- safePerfProviderHandle.cs
- ThousandthOfEmRealPoints.cs
- DefaultMemberAttribute.cs
- SiteMapNodeCollection.cs
- HtmlTableRow.cs
- XmlSerializableReader.cs
- HandlerElementCollection.cs
- Label.cs
- MenuAdapter.cs
- BindingFormattingDialog.cs
- HijriCalendar.cs
- RectConverter.cs
- BaseTemplateParser.cs
- SecurityUtils.cs
- BypassElementCollection.cs
- DayRenderEvent.cs
- _DisconnectOverlappedAsyncResult.cs
- UnsafeNativeMethods.cs
- QueryLifecycle.cs
- CustomTypeDescriptor.cs
- HtmlControlPersistable.cs
- elementinformation.cs
- RegexRunnerFactory.cs
- ProfileModule.cs
- SafeNativeMethods.cs
- FontStyleConverter.cs
- SemanticResultKey.cs
- TextSimpleMarkerProperties.cs
- XmlSchemaAll.cs
- AutomationPropertyInfo.cs
- DataGridView.cs
- KeyPressEvent.cs
- DataControlReference.cs
- Slider.cs
- SoapFaultCodes.cs
- BaseServiceProvider.cs
- UrlPropertyAttribute.cs
- TextBoxLine.cs
- CredentialCache.cs
- Conditional.cs
- ExpressionContext.cs
- WebPartMovingEventArgs.cs
- HealthMonitoringSection.cs
- ToolStripItemTextRenderEventArgs.cs
- ToolStripRendererSwitcher.cs
- ServiceModelReg.cs
- SourceSwitch.cs
- SpeechUI.cs
- BreakRecordTable.cs
- ZipFileInfo.cs
- XmlElementList.cs
- FunctionMappingTranslator.cs
- XmlDataSourceDesigner.cs
- DSACryptoServiceProvider.cs
- DeferredBinaryDeserializerExtension.cs
- EventNotify.cs
- LoginNameDesigner.cs
- TimeSpanHelper.cs
- Binding.cs
- documentsequencetextpointer.cs
- HtmlWindowCollection.cs
- DtdParser.cs
- ConfigurationElementCollection.cs
- DataGridViewColumnConverter.cs
- _UncName.cs
- InputBuffer.cs
- ProfileSettings.cs
- PathGeometry.cs
- BitmapFrame.cs
- HttpCapabilitiesSectionHandler.cs
- XPathBinder.cs
- TypeDescriptorFilterService.cs
- AlignmentYValidation.cs
- XmlComment.cs