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
- WebCodeGenerator.cs
- DataGridViewIntLinkedList.cs
- DataGridColumnsPage.cs
- CacheEntry.cs
- ObjectTypeMapping.cs
- EmbeddedMailObject.cs
- UnhandledExceptionEventArgs.cs
- SchemaImporter.cs
- PropertyContainer.cs
- DesignerVerbCollection.cs
- TextLineResult.cs
- HttpCookieCollection.cs
- GeneralTransform.cs
- DbMetaDataCollectionNames.cs
- WorkflowControlClient.cs
- DotAtomReader.cs
- OutOfMemoryException.cs
- TextElement.cs
- WCFServiceClientProxyGenerator.cs
- Literal.cs
- ClrPerspective.cs
- ReverseComparer.cs
- DragEvent.cs
- EntityDataSourceChangedEventArgs.cs
- ResourceKey.cs
- Thumb.cs
- Control.cs
- PathFigureCollection.cs
- OdbcTransaction.cs
- SQLInt64Storage.cs
- CompoundFileStorageReference.cs
- PathTooLongException.cs
- InstanceDataCollectionCollection.cs
- ObjectListItem.cs
- VirtualizingPanel.cs
- WebPartRestoreVerb.cs
- EventMap.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- BindingUtils.cs
- SqlDataSourceQueryEditor.cs
- VariableAction.cs
- AxisAngleRotation3D.cs
- documentsequencetextpointer.cs
- WindowsScrollBar.cs
- coordinator.cs
- DataViewManagerListItemTypeDescriptor.cs
- TextBox.cs
- SoapSchemaMember.cs
- MouseButtonEventArgs.cs
- SynchronizationContext.cs
- WebRequestModuleElementCollection.cs
- WrapPanel.cs
- LinkedList.cs
- LogStore.cs
- CodeValidator.cs
- AttachedPropertyInfo.cs
- FileEnumerator.cs
- XmlDataImplementation.cs
- NodeFunctions.cs
- PointCollectionValueSerializer.cs
- ActivityTypeResolver.xaml.cs
- NamespaceCollection.cs
- PerformanceCountersBase.cs
- ReferentialConstraint.cs
- IteratorFilter.cs
- XPathQilFactory.cs
- BooleanAnimationUsingKeyFrames.cs
- MoveSizeWinEventHandler.cs
- ExtensionSurface.cs
- Attribute.cs
- SessionChannels.cs
- Overlapped.cs
- EditorAttribute.cs
- XPathAxisIterator.cs
- FixedSOMLineRanges.cs
- BamlTreeUpdater.cs
- ProxyGenerator.cs
- AlternateView.cs
- HostedTcpTransportManager.cs
- FileDialogCustomPlacesCollection.cs
- FontFaceLayoutInfo.cs
- SystemWebExtensionsSectionGroup.cs
- DataProtection.cs
- SqlNode.cs
- Content.cs
- Int64Converter.cs
- Size3DValueSerializer.cs
- WorkflowServiceBehavior.cs
- PropertyIDSet.cs
- HierarchicalDataBoundControl.cs
- ObjectSet.cs
- CfgArc.cs
- DomainUpDown.cs
- TemplateParser.cs
- Table.cs
- TextRange.cs
- CollaborationHelperFunctions.cs
- AutomationPattern.cs
- BaseCAMarshaler.cs
- VectorConverter.cs