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
- AxImporter.cs
- ObjectReaderCompiler.cs
- WS2007FederationHttpBindingElement.cs
- Int16AnimationUsingKeyFrames.cs
- SelectedDatesCollection.cs
- FunctionNode.cs
- MaxMessageSizeStream.cs
- SecUtil.cs
- CacheDict.cs
- MexBindingElement.cs
- FunctionDefinition.cs
- UrlMappingsSection.cs
- BitArray.cs
- BindingSource.cs
- IISUnsafeMethods.cs
- ControlOperationInvoker.cs
- QuerySubExprEliminator.cs
- ToolBar.cs
- BitmapEffectGroup.cs
- SoapSchemaExporter.cs
- ToolStripSeparator.cs
- DataColumn.cs
- InternalConfigHost.cs
- UIElementParaClient.cs
- DataSourceXmlElementAttribute.cs
- Crypto.cs
- XmlWriterSettings.cs
- GraphicsState.cs
- HashCryptoHandle.cs
- serverconfig.cs
- QilValidationVisitor.cs
- SafeCryptoKeyHandle.cs
- BuilderPropertyEntry.cs
- DNS.cs
- SecurityTokenTypes.cs
- PcmConverter.cs
- ScriptDescriptor.cs
- LedgerEntry.cs
- UshortList2.cs
- ArgumentReference.cs
- Perspective.cs
- DataRowChangeEvent.cs
- MaskDescriptors.cs
- RenamedEventArgs.cs
- DateTimeParse.cs
- Classification.cs
- StyleReferenceConverter.cs
- Char.cs
- SortableBindingList.cs
- WindowsProgressbar.cs
- DuplexChannelBinder.cs
- ExpandableObjectConverter.cs
- DataTableTypeConverter.cs
- IDictionary.cs
- CachedCompositeFamily.cs
- ComponentResourceManager.cs
- SerializationHelper.cs
- IncrementalHitTester.cs
- MetafileHeader.cs
- UnsafeNativeMethodsPenimc.cs
- CacheModeConverter.cs
- DescendantQuery.cs
- ObjectDataSourceChooseMethodsPanel.cs
- HttpHeaderCollection.cs
- CanExpandCollapseAllConverter.cs
- ECDiffieHellmanCngPublicKey.cs
- SystemBrushes.cs
- DeploymentSection.cs
- TempFiles.cs
- ListBox.cs
- SafeBitVector32.cs
- ClaimTypeElementCollection.cs
- DoubleSumAggregationOperator.cs
- Size.cs
- SecureEnvironment.cs
- DefaultSection.cs
- Rotation3D.cs
- HttpHandlerActionCollection.cs
- EventSource.cs
- XmlSerializerAssemblyAttribute.cs
- wmiprovider.cs
- DPCustomTypeDescriptor.cs
- UnmanagedMemoryStreamWrapper.cs
- GeneralTransform.cs
- SocketElement.cs
- BaseCollection.cs
- TabControl.cs
- ICspAsymmetricAlgorithm.cs
- ReferencedCollectionType.cs
- CompoundFileStorageReference.cs
- TrackBarRenderer.cs
- XmlArrayItemAttributes.cs
- QueryAccessibilityHelpEvent.cs
- x509utils.cs
- FrameSecurityDescriptor.cs
- KeyboardDevice.cs
- SessionStateContainer.cs
- SoapSchemaImporter.cs
- TypeConverterHelper.cs
- MailBnfHelper.cs