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
- RandomNumberGenerator.cs
- TextOnlyOutput.cs
- XmlTextReaderImpl.cs
- DbgUtil.cs
- DependencyPropertyChangedEventArgs.cs
- VectorKeyFrameCollection.cs
- KerberosReceiverSecurityToken.cs
- EmbeddedObject.cs
- SmtpMail.cs
- SkipQueryOptionExpression.cs
- PageContentCollection.cs
- FixedHyperLink.cs
- RSAOAEPKeyExchangeFormatter.cs
- ParseChildrenAsPropertiesAttribute.cs
- XmlEncodedRawTextWriter.cs
- MarkupExtensionParser.cs
- StandardBindingElement.cs
- DragCompletedEventArgs.cs
- XPathMultyIterator.cs
- UniformGrid.cs
- TreeNodeCollection.cs
- UnsafeNativeMethodsPenimc.cs
- Encoder.cs
- SchemaTableOptionalColumn.cs
- Hyperlink.cs
- PersistencePipeline.cs
- TextServicesCompartmentEventSink.cs
- OptimisticConcurrencyException.cs
- ListenerConfig.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- TreeNodeBindingDepthConverter.cs
- RtfToXamlLexer.cs
- InternalCache.cs
- DirectionalLight.cs
- CodeMethodReturnStatement.cs
- TransformerTypeCollection.cs
- Cursor.cs
- DocumentPageTextView.cs
- WindowsProgressbar.cs
- NetMsmqSecurityElement.cs
- PEFileEvidenceFactory.cs
- Relationship.cs
- KoreanCalendar.cs
- OpCopier.cs
- TcpTransportSecurityElement.cs
- CfgSemanticTag.cs
- SqlGenericUtil.cs
- BookmarkOptionsHelper.cs
- WeakRefEnumerator.cs
- MatrixUtil.cs
- GenericPrincipal.cs
- XmlSchemaAppInfo.cs
- DelegateHelpers.Generated.cs
- SQLGuid.cs
- CapabilitiesPattern.cs
- ConfigPathUtility.cs
- ValidatingCollection.cs
- DocumentReference.cs
- UIElement.cs
- TraceXPathNavigator.cs
- ClientApiGenerator.cs
- VolatileEnlistmentState.cs
- AutoGeneratedField.cs
- StylusLogic.cs
- BidirectionalDictionary.cs
- TransformConverter.cs
- VisualStyleInformation.cs
- SqlSelectStatement.cs
- Internal.cs
- XmlDsigSep2000.cs
- DeferredElementTreeState.cs
- OperatingSystemVersionCheck.cs
- EtwTrace.cs
- HttpWebRequestElement.cs
- PrintPreviewDialog.cs
- ListManagerBindingsCollection.cs
- XmlDataImplementation.cs
- ItemsControlAutomationPeer.cs
- Internal.cs
- GridViewDeletedEventArgs.cs
- LinqTreeNodeEvaluator.cs
- DBConnectionString.cs
- Select.cs
- SegmentInfo.cs
- MappingException.cs
- AnnotationObservableCollection.cs
- RegexBoyerMoore.cs
- WpfWebRequestHelper.cs
- TableColumnCollection.cs
- HttpHandlerAction.cs
- PrimitiveXmlSerializers.cs
- GroupedContextMenuStrip.cs
- Activator.cs
- recordstatefactory.cs
- querybuilder.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- UnknownWrapper.cs
- XPathExpr.cs
- Vector3DConverter.cs
- EastAsianLunisolarCalendar.cs