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
- ListCollectionView.cs
- X509RawDataKeyIdentifierClause.cs
- GACMembershipCondition.cs
- HtmlElementErrorEventArgs.cs
- CompositeCollection.cs
- ConfigXmlDocument.cs
- GridViewCancelEditEventArgs.cs
- TrustSection.cs
- PeerResolverSettings.cs
- InternalConfigSettingsFactory.cs
- RadioButton.cs
- BooleanProjectedSlot.cs
- ConfigXmlSignificantWhitespace.cs
- SchemaImporterExtensionsSection.cs
- WebScriptClientGenerator.cs
- WorkflowQueueInfo.cs
- PrintPreviewDialog.cs
- HtmlElement.cs
- SecurityRuntime.cs
- RightsManagementLicense.cs
- AdRotator.cs
- LogLogRecord.cs
- GuidTagList.cs
- URLAttribute.cs
- EntityDataSourceUtil.cs
- X500Name.cs
- FontSource.cs
- MatrixTransform.cs
- UrlAuthorizationModule.cs
- NumericUpDown.cs
- NavigationPropertyAccessor.cs
- SystemIPv6InterfaceProperties.cs
- XmlObjectSerializerReadContextComplex.cs
- ComponentCollection.cs
- StyleModeStack.cs
- ReaderWriterLockWrapper.cs
- OracleConnectionFactory.cs
- CompositeCollectionView.cs
- ExceptionValidationRule.cs
- JournalEntry.cs
- X509ChainElement.cs
- TrackBar.cs
- SqlBulkCopyColumnMappingCollection.cs
- FixedDocument.cs
- BridgeDataReader.cs
- EntityProxyFactory.cs
- UIServiceHelper.cs
- TraceContextEventArgs.cs
- ImageSourceValueSerializer.cs
- EntityFrameworkVersions.cs
- Subordinate.cs
- AppDomainManager.cs
- FixedFlowMap.cs
- SystemGatewayIPAddressInformation.cs
- CompareValidator.cs
- DocumentApplicationJournalEntry.cs
- SHA384.cs
- PropertyBuilder.cs
- sqlpipe.cs
- ToolboxService.cs
- GestureRecognitionResult.cs
- ClosableStream.cs
- SmtpReplyReaderFactory.cs
- SettingsPropertyCollection.cs
- TextEditor.cs
- BitmapEffectDrawing.cs
- EventInfo.cs
- NamespaceList.cs
- AsyncContentLoadedEventArgs.cs
- NoneExcludedImageIndexConverter.cs
- WebPartConnectionCollection.cs
- EventLogConfiguration.cs
- RbTree.cs
- IdentityNotMappedException.cs
- Queue.cs
- SQLBinaryStorage.cs
- CounterCreationData.cs
- ComNativeDescriptor.cs
- X509ChainPolicy.cs
- CharUnicodeInfo.cs
- LinearGradientBrush.cs
- SecurityBindingElementImporter.cs
- Stack.cs
- QueryStringParameter.cs
- SafeArrayTypeMismatchException.cs
- Errors.cs
- _SslSessionsCache.cs
- TypeSemantics.cs
- DataColumnChangeEvent.cs
- DateTimeFormatInfoScanner.cs
- TextElement.cs
- PropertyMapper.cs
- WindowHideOrCloseTracker.cs
- PropertyCollection.cs
- FileUtil.cs
- PropertyEntry.cs
- Compiler.cs
- SQLSingle.cs
- WebPartChrome.cs
- XmlElement.cs