Code:
/ DotNET / DotNET / 8.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
- _ProxyRegBlob.cs
- ParseHttpDate.cs
- InternalBase.cs
- ReflectionHelper.cs
- IgnoreSection.cs
- AnnouncementInnerClientCD1.cs
- CachedFontFamily.cs
- ControlTemplate.cs
- ValidationEventArgs.cs
- CharAnimationUsingKeyFrames.cs
- SqlConnectionFactory.cs
- StyleModeStack.cs
- CallSite.cs
- ModulesEntry.cs
- FloaterBaseParagraph.cs
- DaylightTime.cs
- PersonalizationStateInfo.cs
- XmlSerializationReader.cs
- ExpressionsCollectionConverter.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- PersistenceTypeAttribute.cs
- AttributeSetAction.cs
- Process.cs
- PartialCachingAttribute.cs
- SharedStatics.cs
- OperationCanceledException.cs
- ObjectListFieldsPage.cs
- RewritingSimplifier.cs
- ExpandCollapseProviderWrapper.cs
- InternalResources.cs
- NestedContainer.cs
- ContentValidator.cs
- TransformerConfigurationWizardBase.cs
- GridViewRowPresenterBase.cs
- TrackingWorkflowEventArgs.cs
- XmlSignificantWhitespace.cs
- ScrollBarRenderer.cs
- InfocardClientCredentials.cs
- Partitioner.cs
- BindingExpressionBase.cs
- ScopedKnownTypes.cs
- OracleConnectionStringBuilder.cs
- XmlQueryContext.cs
- WizardForm.cs
- StrokeIntersection.cs
- ClientTargetSection.cs
- HotSpot.cs
- ViewBase.cs
- Action.cs
- MsmqProcessProtocolHandler.cs
- GroupStyle.cs
- WindowCollection.cs
- AlignmentYValidation.cs
- Transform3DGroup.cs
- SafeNativeMethods.cs
- FigureParagraph.cs
- ParameterCollection.cs
- MgmtConfigurationRecord.cs
- AssemblyName.cs
- DispatchProxy.cs
- EmptyTextWriter.cs
- AssemblyResolver.cs
- WinEventTracker.cs
- FixedSOMPageConstructor.cs
- WebPartManager.cs
- FontDialog.cs
- StreamWithDictionary.cs
- SqlBinder.cs
- RNGCryptoServiceProvider.cs
- WindowsBrush.cs
- GridEntryCollection.cs
- IDReferencePropertyAttribute.cs
- PageStatePersister.cs
- LogWriteRestartAreaAsyncResult.cs
- NativeRecognizer.cs
- PrivilegedConfigurationManager.cs
- AuthenticationManager.cs
- BindingExpression.cs
- ConstructorExpr.cs
- GenericEnumConverter.cs
- PropertyGridCommands.cs
- ToolTipAutomationPeer.cs
- TreeViewDataItemAutomationPeer.cs
- WebServicesDescriptionAttribute.cs
- ObjectQuery.cs
- Hash.cs
- HttpCachePolicyElement.cs
- LogicalTreeHelper.cs
- XPathSelectionIterator.cs
- CreateUserErrorEventArgs.cs
- InvalidFilterCriteriaException.cs
- BitmapPalettes.cs
- IpcChannelHelper.cs
- DesignTimeXamlWriter.cs
- DataViewListener.cs
- DataBindingHandlerAttribute.cs
- StructuredTypeInfo.cs
- CodeDelegateInvokeExpression.cs
- ReadOnlyObservableCollection.cs
- LayoutInformation.cs