Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / ContextMarshalException.cs / 1 / ContextMarshalException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: ContextMarshalException ** ** ** Purpose: Exception class for attempting to pass an instance through a context ** boundary, when the formal type and the instance's marshal style are ** incompatible. ** ** =============================================================================*/ namespace System { using System.Runtime.InteropServices; using System.Runtime.Remoting; using System; using System.Runtime.Serialization; [Obsolete("ContextMarshalException is obsolete.")] [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class ContextMarshalException : SystemException { public ContextMarshalException() : base(Environment.GetResourceString("Arg_ContextMarshalException")) { SetErrorCode(__HResults.COR_E_CONTEXTMARSHAL); } public ContextMarshalException(String message) : base(message) { SetErrorCode(__HResults.COR_E_CONTEXTMARSHAL); } public ContextMarshalException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_CONTEXTMARSHAL); } protected ContextMarshalException(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
- HMACRIPEMD160.cs
- SponsorHelper.cs
- DataServiceRequestOfT.cs
- DesignColumn.cs
- GenericUriParser.cs
- ValidationRule.cs
- RegexRunner.cs
- RelationshipFixer.cs
- TrackingAnnotationCollection.cs
- DataGridItemEventArgs.cs
- NodeFunctions.cs
- PopupRoot.cs
- CommandManager.cs
- GPStream.cs
- NotificationContext.cs
- ElementNotAvailableException.cs
- ThreadAttributes.cs
- MatrixCamera.cs
- HtmlLink.cs
- XPathItem.cs
- coordinatorfactory.cs
- DataObject.cs
- Soap11ServerProtocol.cs
- FilterException.cs
- OleDbDataReader.cs
- TextMetrics.cs
- DockAndAnchorLayout.cs
- HtmlSelect.cs
- KeysConverter.cs
- UriTemplateQueryValue.cs
- HandoffBehavior.cs
- HTMLTextWriter.cs
- InheritanceAttribute.cs
- SystemSounds.cs
- ProfileGroupSettings.cs
- LabelLiteral.cs
- SqlCacheDependencyDatabaseCollection.cs
- DragStartedEventArgs.cs
- _Win32.cs
- ShutDownListener.cs
- XamlToRtfParser.cs
- WizardForm.cs
- SqlVisitor.cs
- FormViewModeEventArgs.cs
- HttpGetProtocolImporter.cs
- CommandHelper.cs
- SystemResourceHost.cs
- SamlConstants.cs
- PropertyDescriptorGridEntry.cs
- control.ime.cs
- CheckBoxPopupAdapter.cs
- AnnouncementInnerClient11.cs
- HttpApplicationFactory.cs
- ClusterSafeNativeMethods.cs
- entityreference_tresulttype.cs
- ReadOnlyDataSourceView.cs
- BindUriHelper.cs
- SingletonConnectionReader.cs
- ResourceReferenceExpressionConverter.cs
- FileStream.cs
- Int32Converter.cs
- SelectionRange.cs
- SiteMapDesignerDataSourceView.cs
- WorkflowPrinting.cs
- System.Data_BID.cs
- MachineKeyConverter.cs
- UIElement.cs
- CaseInsensitiveComparer.cs
- Dump.cs
- SmiContextFactory.cs
- XmlEntity.cs
- SrgsDocumentParser.cs
- Inline.cs
- ScrollViewerAutomationPeer.cs
- QilTernary.cs
- ResolveCriteriaCD1.cs
- CollectionCodeDomSerializer.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- SqlProfileProvider.cs
- SmiEventSink_DeferedProcessing.cs
- LayoutSettings.cs
- HwndHost.cs
- MenuItem.cs
- ToolStripSystemRenderer.cs
- TriState.cs
- DataSvcMapFile.cs
- ImageDesigner.cs
- ParallelForEach.cs
- EventListenerClientSide.cs
- DataBoundLiteralControl.cs
- DataBoundLiteralControl.cs
- WebPartsPersonalizationAuthorization.cs
- SimpleHandlerFactory.cs
- VisualCollection.cs
- SpnEndpointIdentityExtension.cs
- SymbolMethod.cs
- KeyToListMap.cs
- ConcurrentStack.cs
- SqlHelper.cs
- Calendar.cs