Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // // ==--== /*============================================================================== ** ** 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CodeGen.cs
- ConditionCollection.cs
- DataGridViewSelectedColumnCollection.cs
- ACL.cs
- XPathPatternBuilder.cs
- HandledEventArgs.cs
- TaskFormBase.cs
- BufferAllocator.cs
- unsafeIndexingFilterStream.cs
- RegexCapture.cs
- InvalidComObjectException.cs
- ScrollChrome.cs
- CheckBoxStandardAdapter.cs
- TemplateControlParser.cs
- AndCondition.cs
- ClientTargetCollection.cs
- ASCIIEncoding.cs
- HtmlProps.cs
- TypeNameConverter.cs
- HttpConfigurationSystem.cs
- WebControl.cs
- NameTable.cs
- ReferencedAssembly.cs
- RelationshipEndCollection.cs
- SecureUICommand.cs
- EndOfStreamException.cs
- PointHitTestParameters.cs
- SchemaMerger.cs
- ConnectionProviderAttribute.cs
- ResXResourceWriter.cs
- Int16Animation.cs
- Crc32.cs
- ChtmlLinkAdapter.cs
- EnumMemberAttribute.cs
- _WinHttpWebProxyDataBuilder.cs
- ScrollBar.cs
- SortQueryOperator.cs
- HttpHandlerActionCollection.cs
- Attachment.cs
- ProgressBarAutomationPeer.cs
- Authorization.cs
- XmlSchemaValidator.cs
- MemoryStream.cs
- OperationAbortedException.cs
- SafeHandle.cs
- EntityDataSourceMemberPath.cs
- RegistryKey.cs
- MediaElementAutomationPeer.cs
- LogEntryDeserializer.cs
- Blend.cs
- ToReply.cs
- StylusCaptureWithinProperty.cs
- SiteMapSection.cs
- HtmlTernaryTree.cs
- XmlILConstructAnalyzer.cs
- BitmapEffectGroup.cs
- DayRenderEvent.cs
- TableItemProviderWrapper.cs
- ProtocolsConfiguration.cs
- QueryOperatorEnumerator.cs
- ExtendedProtectionPolicy.cs
- ReadOnlyTernaryTree.cs
- FormViewInsertEventArgs.cs
- FlagsAttribute.cs
- ProxyGenerationError.cs
- XamlSerializationHelper.cs
- CatalogZone.cs
- ReadOnlyCollectionBuilder.cs
- HtmlTableCellCollection.cs
- OdbcConnectionPoolProviderInfo.cs
- RoutedEvent.cs
- SoapFault.cs
- DBAsyncResult.cs
- WebPartPersonalization.cs
- FaultReasonText.cs
- MissingManifestResourceException.cs
- SubpageParagraph.cs
- BCLDebug.cs
- DSACryptoServiceProvider.cs
- TextElementEditingBehaviorAttribute.cs
- PeerCollaborationPermission.cs
- WorkflowPrinting.cs
- DefaultTextStoreTextComposition.cs
- AQNBuilder.cs
- AttachedPropertiesService.cs
- WindowsTab.cs
- ButtonFieldBase.cs
- NativeMethods.cs
- Win32.cs
- NotSupportedException.cs
- AdPostCacheSubstitution.cs
- StaticSiteMapProvider.cs
- BypassElementCollection.cs
- CodeArrayIndexerExpression.cs
- ScrollChrome.cs
- counter.cs
- XmlSchemaComplexContentRestriction.cs
- StorageEndPropertyMapping.cs
- ApplicationDirectoryMembershipCondition.cs
- ToolboxCategoryItems.cs