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
- StoryFragments.cs
- ClonableStack.cs
- XPathNavigatorReader.cs
- IsolationInterop.cs
- DescendantQuery.cs
- BasicViewGenerator.cs
- BaseCodePageEncoding.cs
- BCryptNative.cs
- IndicCharClassifier.cs
- TextRangeAdaptor.cs
- ObjectDisposedException.cs
- Point4DValueSerializer.cs
- SoapDocumentMethodAttribute.cs
- ButtonField.cs
- Floater.cs
- Sequence.cs
- ClonableStack.cs
- EventDrivenDesigner.cs
- AdRotator.cs
- XmlNavigatorStack.cs
- ZipArchive.cs
- DragDrop.cs
- WorkflowRuntimeBehavior.cs
- UIElementIsland.cs
- DomainLiteralReader.cs
- TimerElapsedEvenArgs.cs
- KoreanLunisolarCalendar.cs
- Regex.cs
- StructuredType.cs
- XmlSerializerVersionAttribute.cs
- SpotLight.cs
- propertytag.cs
- ServicePointManager.cs
- HttpApplicationFactory.cs
- RijndaelManaged.cs
- Message.cs
- ResourceDictionary.cs
- PackagePartCollection.cs
- ColumnBinding.cs
- ScriptingJsonSerializationSection.cs
- TransactionProtocolConverter.cs
- MobileControl.cs
- XmlTextWriter.cs
- PersistenceContext.cs
- ViewGenResults.cs
- ArrayWithOffset.cs
- Normalization.cs
- ProtocolsConfiguration.cs
- GroupBoxRenderer.cs
- SessionParameter.cs
- HierarchicalDataTemplate.cs
- NonBatchDirectoryCompiler.cs
- Stackframe.cs
- Point3DCollectionValueSerializer.cs
- DataGridViewCellFormattingEventArgs.cs
- Composition.cs
- SystemIcmpV4Statistics.cs
- ValueType.cs
- ChildTable.cs
- ExclusiveHandle.cs
- Axis.cs
- GestureRecognizer.cs
- SessionStateItemCollection.cs
- CmsInterop.cs
- sqlser.cs
- TraceData.cs
- IpcChannel.cs
- WMICapabilities.cs
- TypeSource.cs
- FrameworkPropertyMetadata.cs
- HtmlUtf8RawTextWriter.cs
- MenuAdapter.cs
- CompleteWizardStep.cs
- QilIterator.cs
- TimeoutValidationAttribute.cs
- ExponentialEase.cs
- MenuItemBindingCollection.cs
- StateManagedCollection.cs
- OdbcHandle.cs
- PerformanceCounterManager.cs
- SoundPlayerAction.cs
- WebServicesSection.cs
- EditCommandColumn.cs
- ToggleProviderWrapper.cs
- CodeTypeDelegate.cs
- ChangePassword.cs
- TreeView.cs
- HttpStreamXmlDictionaryWriter.cs
- Selector.cs
- DescendantQuery.cs
- BaseCodeDomTreeGenerator.cs
- SplitterPanel.cs
- _HTTPDateParse.cs
- WindowsGrip.cs
- WindowsEditBoxRange.cs
- Section.cs
- SoapUnknownHeader.cs
- XmlNode.cs
- propertytag.cs
- EndpointPerformanceCounters.cs