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
- DetailsViewInsertEventArgs.cs
- WorkItem.cs
- OletxTransactionFormatter.cs
- HtmlWindowCollection.cs
- InputBinder.cs
- PageAsyncTask.cs
- ConfigXmlAttribute.cs
- compensatingcollection.cs
- LogicalTreeHelper.cs
- DataTrigger.cs
- Size3DConverter.cs
- CommandBinding.cs
- DispatcherSynchronizationContext.cs
- WebEvents.cs
- MimeObjectFactory.cs
- ManagedFilter.cs
- PrintingPermissionAttribute.cs
- EventPropertyMap.cs
- SqlDataSourceCommandEventArgs.cs
- ObjectRef.cs
- GridLength.cs
- Bold.cs
- EdmScalarPropertyAttribute.cs
- SQLMoneyStorage.cs
- WebPartEditorOkVerb.cs
- ArgumentOutOfRangeException.cs
- ToolStripLocationCancelEventArgs.cs
- ExpressionEditorAttribute.cs
- ProfileParameter.cs
- FormConverter.cs
- XmlAttributeHolder.cs
- TypeToArgumentTypeConverter.cs
- PlaceHolder.cs
- DataBoundControl.cs
- FixedTextSelectionProcessor.cs
- TraceHandlerErrorFormatter.cs
- AddingNewEventArgs.cs
- XhtmlBasicPhoneCallAdapter.cs
- ConfigurationException.cs
- Triangle.cs
- RefreshInfo.cs
- ContainerUIElement3D.cs
- FileNotFoundException.cs
- reliableinputsessionchannel.cs
- InvalidProgramException.cs
- MessageDecoder.cs
- BitmapEffectrendercontext.cs
- ProcessHostFactoryHelper.cs
- TextBoxBaseDesigner.cs
- RawStylusInputReport.cs
- ReaderOutput.cs
- ColorTransformHelper.cs
- DataBindingHandlerAttribute.cs
- EventRoute.cs
- Animatable.cs
- DataSourceViewSchemaConverter.cs
- DecoderExceptionFallback.cs
- WindowsPrincipal.cs
- externdll.cs
- XdrBuilder.cs
- FilterQuery.cs
- SerializerWriterEventHandlers.cs
- TextViewSelectionProcessor.cs
- ScriptResourceInfo.cs
- ContentTextAutomationPeer.cs
- Enumerable.cs
- tooltip.cs
- SizeKeyFrameCollection.cs
- StatusBarAutomationPeer.cs
- SplitterCancelEvent.cs
- ipaddressinformationcollection.cs
- AppSettingsExpressionBuilder.cs
- UrlAuthorizationModule.cs
- EnvironmentPermission.cs
- SqlDataSourceFilteringEventArgs.cs
- IIS7UserPrincipal.cs
- EmptyElement.cs
- FirstQueryOperator.cs
- ToolStripItemBehavior.cs
- ModulesEntry.cs
- TableLayoutCellPaintEventArgs.cs
- InputBinder.cs
- Stroke2.cs
- TextBoxView.cs
- DataGridViewComboBoxColumn.cs
- IncrementalCompileAnalyzer.cs
- ScriptManagerProxy.cs
- MapPathBasedVirtualPathProvider.cs
- X509CertificateCollection.cs
- ReaderWriterLockWrapper.cs
- PersonalizationProviderHelper.cs
- MessageBox.cs
- ZipIOCentralDirectoryBlock.cs
- ProvidersHelper.cs
- HierarchicalDataBoundControl.cs
- StylusTip.cs
- HealthMonitoringSectionHelper.cs
- GB18030Encoding.cs
- PackageRelationship.cs
- ForeignKeyConstraint.cs