Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / InteropServices / MarshalDirectiveException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated protected MarshalDirectiveException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlTriggerAttribute.cs
- DataServiceSaveChangesEventArgs.cs
- CaseCqlBlock.cs
- DefaultCompensation.cs
- SerialPort.cs
- SerialErrors.cs
- HotSpotCollection.cs
- Base64Encoder.cs
- ComponentEvent.cs
- DiscardableAttribute.cs
- DataTablePropertyDescriptor.cs
- DbProviderFactories.cs
- SystemDiagnosticsSection.cs
- TableLayoutCellPaintEventArgs.cs
- StorageInfo.cs
- SafeMILHandle.cs
- DataGridViewCell.cs
- DatagridviewDisplayedBandsData.cs
- ServiceOperationListItemList.cs
- ExtenderProvidedPropertyAttribute.cs
- GridViewCommandEventArgs.cs
- CngAlgorithm.cs
- PropertyTabAttribute.cs
- AssociationTypeEmitter.cs
- TimelineGroup.cs
- CachedTypeface.cs
- KeyboardEventArgs.cs
- XmlDownloadManager.cs
- SafeNativeMethodsMilCoreApi.cs
- DelayDesigner.cs
- NativeWindow.cs
- HtmlLiteralTextAdapter.cs
- FrameworkPropertyMetadata.cs
- SimpleWorkerRequest.cs
- CharacterHit.cs
- Int32Storage.cs
- XmlReflectionImporter.cs
- InputReport.cs
- TopClause.cs
- HttpStreams.cs
- Point3DCollectionValueSerializer.cs
- IgnoreSectionHandler.cs
- ValidationHelpers.cs
- CommandConverter.cs
- EncryptedXml.cs
- RemoteWebConfigurationHostStream.cs
- CollectionAdapters.cs
- Context.cs
- KeyToListMap.cs
- ReadOnlyAttribute.cs
- Publisher.cs
- GetIndexBinder.cs
- HttpCapabilitiesBase.cs
- OutputCacheProfile.cs
- ProfilePropertySettingsCollection.cs
- Util.cs
- PeerCredential.cs
- TableCellCollection.cs
- CopyOfAction.cs
- ToolboxBitmapAttribute.cs
- DataRecordInternal.cs
- XamlVector3DCollectionSerializer.cs
- BinaryOperationBinder.cs
- TextServicesContext.cs
- CheckBoxPopupAdapter.cs
- ImagingCache.cs
- WebPartExportVerb.cs
- LoginUtil.cs
- DisplayNameAttribute.cs
- FlowDocumentPageViewerAutomationPeer.cs
- AppDomainShutdownMonitor.cs
- EncryptedType.cs
- MsmqPoisonMessageException.cs
- OleDbInfoMessageEvent.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- DynamicDataRoute.cs
- DtdParser.cs
- SafeArrayTypeMismatchException.cs
- MemberHolder.cs
- Group.cs
- CodeVariableReferenceExpression.cs
- SystemTcpConnection.cs
- XmlSerializableWriter.cs
- ToolStripDropDown.cs
- TextServicesCompartment.cs
- StreamInfo.cs
- RoutedEventValueSerializer.cs
- sqlmetadatafactory.cs
- RegexMatchCollection.cs
- FixedSOMGroup.cs
- ThemeInfoAttribute.cs
- TextEffectCollection.cs
- NetworkStream.cs
- SecurityContextSecurityTokenResolver.cs
- BitmapEffectDrawing.cs
- NonPrimarySelectionGlyph.cs
- FileReservationCollection.cs
- ColorPalette.cs
- InstanceDescriptor.cs
- TextRunCacheImp.cs