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
- BitSet.cs
- Debug.cs
- WrapperEqualityComparer.cs
- CodeDefaultValueExpression.cs
- WhiteSpaceTrimStringConverter.cs
- AuthenticationManager.cs
- SafeMarshalContext.cs
- State.cs
- TableDetailsRow.cs
- NamespaceList.cs
- DBSchemaTable.cs
- ComponentDispatcherThread.cs
- TraceSection.cs
- SecurityException.cs
- LockCookie.cs
- RadioButtonList.cs
- DataControlLinkButton.cs
- DriveNotFoundException.cs
- MouseGestureConverter.cs
- Section.cs
- BaseCodeDomTreeGenerator.cs
- HtmlContainerControl.cs
- FixedPage.cs
- MDIClient.cs
- AppSettingsExpressionBuilder.cs
- UpdatePanel.cs
- SubqueryRules.cs
- CharacterBuffer.cs
- AVElementHelper.cs
- CustomServiceCredentials.cs
- DataGridViewCellLinkedList.cs
- WebEventCodes.cs
- ApplicationTrust.cs
- LinkConverter.cs
- WpfPayload.cs
- PageCache.cs
- OdbcException.cs
- ParserOptions.cs
- ActionItem.cs
- ReplacementText.cs
- CornerRadius.cs
- TableLayoutSettings.cs
- SmiRequestExecutor.cs
- CodeDelegateInvokeExpression.cs
- XamlClipboardData.cs
- GridViewRowEventArgs.cs
- WindowsComboBox.cs
- UseAttributeSetsAction.cs
- FtpRequestCacheValidator.cs
- FileDialogCustomPlace.cs
- CheckBox.cs
- RectangleConverter.cs
- SqlXml.cs
- WebPartDisplayModeCollection.cs
- Int16AnimationBase.cs
- ToolboxComponentsCreatingEventArgs.cs
- TypeConverter.cs
- SQLBytesStorage.cs
- pingexception.cs
- OverflowException.cs
- SafeLibraryHandle.cs
- UIElementParagraph.cs
- MachineKeyConverter.cs
- TextTrailingWordEllipsis.cs
- UniformGrid.cs
- XmlTextEncoder.cs
- AssertSection.cs
- AstTree.cs
- TypedTableBaseExtensions.cs
- ObjectSpanRewriter.cs
- StickyNoteHelper.cs
- TdsValueSetter.cs
- XmlSerializerObjectSerializer.cs
- Binding.cs
- isolationinterop.cs
- WebBrowserPermission.cs
- MeshGeometry3D.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- DelegateBodyWriter.cs
- DBSchemaRow.cs
- OleDbDataReader.cs
- HtmlInputRadioButton.cs
- VideoDrawing.cs
- BlobPersonalizationState.cs
- TemplateNameScope.cs
- UnmanagedBitmapWrapper.cs
- IncrementalReadDecoders.cs
- DependencyPropertyConverter.cs
- Publisher.cs
- SoapElementAttribute.cs
- SelectionManager.cs
- ActiveXSite.cs
- PageSetupDialog.cs
- EdmFunctionAttribute.cs
- PageSetupDialog.cs
- PathData.cs
- ToolStripGrip.cs
- GeometryDrawing.cs
- ReferencedCollectionType.cs
- ProcessProtocolHandler.cs