Code:
/ FX-1434 / FX-1434 / 1.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
- VerticalAlignConverter.cs
- RightsManagementInformation.cs
- PrinterResolution.cs
- DataServiceExpressionVisitor.cs
- SocketAddress.cs
- DeclarativeCatalogPart.cs
- XPathMultyIterator.cs
- OpCodes.cs
- BindingNavigator.cs
- SqlBinder.cs
- AssemblyInfo.cs
- IntSumAggregationOperator.cs
- LicenseProviderAttribute.cs
- DesignerSelectionListAdapter.cs
- RewritingSimplifier.cs
- InstanceOwnerQueryResult.cs
- ThemeDictionaryExtension.cs
- RegexMatch.cs
- Win32SafeHandles.cs
- InvariantComparer.cs
- VersionUtil.cs
- ParameterElementCollection.cs
- SelfIssuedAuthRSAPKCS1SignatureFormatter.cs
- BookmarkResumptionRecord.cs
- RootDesignerSerializerAttribute.cs
- StorageEntitySetMapping.cs
- FieldToken.cs
- DataRelation.cs
- BaseParser.cs
- WindowsEditBoxRange.cs
- XmlCharType.cs
- SafeNativeMethodsMilCoreApi.cs
- streamingZipPartStream.cs
- DataControlFieldCell.cs
- IOThreadTimer.cs
- SchemaImporterExtension.cs
- ModelToObjectValueConverter.cs
- XslCompiledTransform.cs
- FixedSOMLineCollection.cs
- CodeArrayIndexerExpression.cs
- ApplicationServiceHelper.cs
- _CacheStreams.cs
- ConfigPathUtility.cs
- StrongNameIdentityPermission.cs
- NumberFormatInfo.cs
- Hash.cs
- DesignTimeSiteMapProvider.cs
- UIElementHelper.cs
- SchemaMapping.cs
- WebBrowserUriTypeConverter.cs
- WorkingDirectoryEditor.cs
- ConnectionPointCookie.cs
- TimeSpanFormat.cs
- StaticTextPointer.cs
- HtmlControl.cs
- Point.cs
- ImageMapEventArgs.cs
- CacheMemory.cs
- RemoteWebConfigurationHostServer.cs
- SqlDataSourceCommandEventArgs.cs
- Merger.cs
- DataStorage.cs
- DynamicDataExtensions.cs
- PrintDialog.cs
- HitTestWithPointDrawingContextWalker.cs
- DiffuseMaterial.cs
- DictionaryEntry.cs
- HttpResponseHeader.cs
- DefaultAssemblyResolver.cs
- TdsParserStateObject.cs
- SamlAdvice.cs
- DispatcherEventArgs.cs
- DesignerSerializationOptionsAttribute.cs
- TransformValueSerializer.cs
- AssociationSetMetadata.cs
- FormViewDeleteEventArgs.cs
- AccessedThroughPropertyAttribute.cs
- FileDialogPermission.cs
- ListControlConvertEventArgs.cs
- PropertyInformationCollection.cs
- ToolStripPanel.cs
- TypeSemantics.cs
- StaticFileHandler.cs
- SqlTypeConverter.cs
- BoundPropertyEntry.cs
- BinaryFormatterSinks.cs
- _NetRes.cs
- FullTrustAssemblyCollection.cs
- PackageDigitalSignatureManager.cs
- WebControlsSection.cs
- WebPartEditVerb.cs
- HttpPostProtocolImporter.cs
- bidPrivateBase.cs
- WebPartPersonalization.cs
- WebPartDescriptionCollection.cs
- CodeBlockBuilder.cs
- FileDialog.cs
- DrawingAttributesDefaultValueFactory.cs
- FormViewInsertEventArgs.cs
- UnsafeNativeMethods.cs