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
- TransactionState.cs
- InheritanceContextHelper.cs
- HttpHandlersInstallComponent.cs
- AutoGeneratedFieldProperties.cs
- TextRangeAdaptor.cs
- GlyphRun.cs
- PersistenceProviderElement.cs
- DynamicUpdateCommand.cs
- LayoutEvent.cs
- TraceHandlerErrorFormatter.cs
- ButtonBase.cs
- DataSourceControlBuilder.cs
- WindowCollection.cs
- UniqueIdentifierService.cs
- TextHintingModeValidation.cs
- DocumentPageViewAutomationPeer.cs
- ActiveDocumentEvent.cs
- HtmlLink.cs
- NotConverter.cs
- ITextView.cs
- MultiBindingExpression.cs
- HuffModule.cs
- PropertyEmitter.cs
- XmlSchemaExternal.cs
- DesignerActionPropertyItem.cs
- DeliveryStrategy.cs
- FileLogRecordStream.cs
- OleDbReferenceCollection.cs
- CannotUnloadAppDomainException.cs
- FlagPanel.cs
- InProcStateClientManager.cs
- MeshGeometry3D.cs
- DocumentStream.cs
- XmlException.cs
- XPathParser.cs
- NumericExpr.cs
- HtmlPanelAdapter.cs
- CodeGroup.cs
- ManipulationDelta.cs
- ToggleProviderWrapper.cs
- Simplifier.cs
- SafeNativeMethods.cs
- DataServices.cs
- DefaultBinder.cs
- AspNetHostingPermission.cs
- userdatakeys.cs
- DataBindingHandlerAttribute.cs
- ProgressBarAutomationPeer.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- DataRelationPropertyDescriptor.cs
- HtmlInputButton.cs
- InputManager.cs
- X509SecurityTokenProvider.cs
- GridViewUpdateEventArgs.cs
- TimerEventSubscription.cs
- DBParameter.cs
- HMACRIPEMD160.cs
- RegexMatchCollection.cs
- SQLByteStorage.cs
- CroppedBitmap.cs
- clipboard.cs
- SoapExtensionReflector.cs
- CheckBoxList.cs
- ClrProviderManifest.cs
- X509CertificateEndpointIdentity.cs
- CriticalHandle.cs
- DispatcherProcessingDisabled.cs
- SecurityDocument.cs
- DesignTimeTemplateParser.cs
- RulePatternOps.cs
- wgx_exports.cs
- ISessionStateStore.cs
- ObjectManager.cs
- HMACMD5.cs
- NavigationWindowAutomationPeer.cs
- DataSourceHelper.cs
- SessionStateContainer.cs
- ListenerElementsCollection.cs
- Keywords.cs
- ISFClipboardData.cs
- ReturnEventArgs.cs
- FieldNameLookup.cs
- CodeIdentifier.cs
- EntityDataSourceConfigureObjectContext.cs
- EncoderNLS.cs
- PolyBezierSegment.cs
- UnmanagedMarshal.cs
- BindValidationContext.cs
- DeadCharTextComposition.cs
- UniqueConstraint.cs
- EventHandlerList.cs
- TokenBasedSetEnumerator.cs
- PixelFormatConverter.cs
- ApplicationBuildProvider.cs
- WebPartConnection.cs
- ResourceDisplayNameAttribute.cs
- ValueUtilsSmi.cs
- PolicyUtility.cs
- HttpCapabilitiesEvaluator.cs
- diagnosticsswitches.cs