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
- SerializerDescriptor.cs
- HwndSourceParameters.cs
- _NetRes.cs
- ElementNotAvailableException.cs
- DictionaryGlobals.cs
- CodeTypeReference.cs
- PenThread.cs
- CancelAsyncOperationRequest.cs
- FormViewModeEventArgs.cs
- XNameConverter.cs
- TextFormatter.cs
- HelpKeywordAttribute.cs
- OrCondition.cs
- XsltLoader.cs
- XmlArrayItemAttributes.cs
- ProxyWebPartManagerDesigner.cs
- WorkflowValidationFailedException.cs
- AssemblyFilter.cs
- AdapterSwitches.cs
- ProxyFragment.cs
- TextServicesDisplayAttribute.cs
- DbFunctionCommandTree.cs
- SafeSerializationManager.cs
- TableLayoutRowStyleCollection.cs
- InitializationEventAttribute.cs
- PingReply.cs
- DocumentApplication.cs
- Win32KeyboardDevice.cs
- EventWaitHandle.cs
- CounterSampleCalculator.cs
- DisplayInformation.cs
- ZipIOExtraFieldPaddingElement.cs
- SettingsPropertyCollection.cs
- InternalCache.cs
- xml.cs
- WindowsIPAddress.cs
- MethodBuilderInstantiation.cs
- PeerNameRegistration.cs
- SafeLibraryHandle.cs
- SHA384Cng.cs
- WebBrowser.cs
- CurrentChangingEventManager.cs
- SchemaSetCompiler.cs
- TransactionManager.cs
- ResourceManager.cs
- DashStyles.cs
- RuleCache.cs
- DoubleLinkList.cs
- ConfigXmlCDataSection.cs
- TextSchema.cs
- DataTablePropertyDescriptor.cs
- ResizeGrip.cs
- ContainerFilterService.cs
- Decorator.cs
- DesignTimeXamlWriter.cs
- TableDetailsCollection.cs
- ColorBuilder.cs
- RadioButton.cs
- LockingPersistenceProvider.cs
- AutomationElementIdentifiers.cs
- AdvancedBindingEditor.cs
- FastPropertyAccessor.cs
- MethodRental.cs
- StylusDownEventArgs.cs
- SelectionProcessor.cs
- OracleParameter.cs
- ToolStripPanelRow.cs
- EnumerableRowCollection.cs
- Misc.cs
- DataGridViewSelectedCellCollection.cs
- XmlBinaryReader.cs
- AvTraceDetails.cs
- TdsParserSessionPool.cs
- WebServiceTypeData.cs
- HtmlEmptyTagControlBuilder.cs
- NativeActivityMetadata.cs
- IPHostEntry.cs
- BrowserCapabilitiesCodeGenerator.cs
- SiteMapDataSource.cs
- DragDrop.cs
- Resources.Designer.cs
- SafeLocalMemHandle.cs
- WebPartRestoreVerb.cs
- WorkflowWebHostingModule.cs
- TypeInitializationException.cs
- HtmlInputButton.cs
- FrameDimension.cs
- FileDialog.cs
- DependentList.cs
- PrePostDescendentsWalker.cs
- DataGridTextBox.cs
- MouseButtonEventArgs.cs
- WindowsMenu.cs
- HttpListenerPrefixCollection.cs
- SafeMILHandle.cs
- DocumentGridContextMenu.cs
- SqlGenericUtil.cs
- DefaultValidator.cs
- contentDescriptor.cs
- StrongName.cs