Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RegexTree.cs
- ListItem.cs
- MasterPageParser.cs
- RectAnimationBase.cs
- StrongNameIdentityPermission.cs
- DocumentGridPage.cs
- CallbackHandler.cs
- EntitySqlQueryCacheKey.cs
- AppDomainFactory.cs
- ProfileModule.cs
- ReferentialConstraint.cs
- ResumeStoryboard.cs
- SelectionWordBreaker.cs
- SuppressIldasmAttribute.cs
- HTTP_SERVICE_CONFIG_URLACL_PARAM.cs
- HttpCookie.cs
- ObjectIDGenerator.cs
- CellParagraph.cs
- Helpers.cs
- XmlDataLoader.cs
- VarInfo.cs
- HttpServerVarsCollection.cs
- EdmItemCollection.cs
- ProxyWebPartManager.cs
- Vars.cs
- Attributes.cs
- TempFiles.cs
- XmlStrings.cs
- CommonServiceBehaviorElement.cs
- ThaiBuddhistCalendar.cs
- AutomationPropertyInfo.cs
- AnimationException.cs
- PersonalizationProviderCollection.cs
- DesignerSerializationOptionsAttribute.cs
- DynamicEndpoint.cs
- CompiledIdentityConstraint.cs
- DebugHandleTracker.cs
- ComponentDispatcherThread.cs
- Console.cs
- RenderData.cs
- TakeOrSkipWhileQueryOperator.cs
- NativeObjectSecurity.cs
- DataGridPageChangedEventArgs.cs
- CodeParameterDeclarationExpression.cs
- ScrollViewerAutomationPeer.cs
- FreeFormDesigner.cs
- embossbitmapeffect.cs
- ConstraintConverter.cs
- DelegateOutArgument.cs
- WebOperationContext.cs
- GeometryCollection.cs
- BrowserInteropHelper.cs
- FontSource.cs
- VariableDesigner.xaml.cs
- ColorPalette.cs
- XmlChoiceIdentifierAttribute.cs
- PackWebRequest.cs
- TypeInfo.cs
- ObjectCloneHelper.cs
- SystemNetworkInterface.cs
- LinkedResourceCollection.cs
- Semaphore.cs
- Compiler.cs
- AssemblyAttributes.cs
- DatatypeImplementation.cs
- ToolStripOverflow.cs
- Ref.cs
- WindowsListViewItemCheckBox.cs
- TextModifierScope.cs
- VolatileEnlistmentState.cs
- OdbcReferenceCollection.cs
- _OverlappedAsyncResult.cs
- ManagementEventArgs.cs
- ZoneButton.cs
- SignedInfo.cs
- FontUnit.cs
- DelegatedStream.cs
- RemoteWebConfigurationHostStream.cs
- SHA256Cng.cs
- VarInfo.cs
- UiaCoreApi.cs
- RootBrowserWindow.cs
- BufferModesCollection.cs
- AssemblyResourceLoader.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- LinkClickEvent.cs
- ILGenerator.cs
- ComponentTray.cs
- RegistryPermission.cs
- TrackingConditionCollection.cs
- UnmanagedMemoryStream.cs
- ClassGenerator.cs
- LookupBindingPropertiesAttribute.cs
- PropertyKey.cs
- PageVisual.cs
- DurationConverter.cs
- FormsAuthentication.cs
- URL.cs
- iisPickupDirectory.cs
- ActivityCollectionMarkupSerializer.cs