Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LazyTextWriterCreator.cs
- ObjectPersistData.cs
- LockRecursionException.cs
- ValidationResult.cs
- ApplicationId.cs
- ServicePoint.cs
- URLString.cs
- PersonalizationDictionary.cs
- UdpTransportBindingElement.cs
- ForwardPositionQuery.cs
- _RequestLifetimeSetter.cs
- WsatServiceAddress.cs
- DataServiceProviderMethods.cs
- FreezableDefaultValueFactory.cs
- ListViewInsertedEventArgs.cs
- ListViewDataItem.cs
- StylusCollection.cs
- ArrangedElement.cs
- ThreadStartException.cs
- _ScatterGatherBuffers.cs
- ValidateNames.cs
- SqlBinder.cs
- WmlPhoneCallAdapter.cs
- NameSpaceExtractor.cs
- RelativeSource.cs
- ISAPIWorkerRequest.cs
- Sql8ConformanceChecker.cs
- EntityTypeEmitter.cs
- SamlDoNotCacheCondition.cs
- UTF8Encoding.cs
- SqlAliasesReferenced.cs
- DataGridCommandEventArgs.cs
- NetworkAddressChange.cs
- RectAnimationClockResource.cs
- DynamicRenderer.cs
- ZipIOLocalFileHeader.cs
- CanonicalFontFamilyReference.cs
- XmlValidatingReaderImpl.cs
- mda.cs
- FontNamesConverter.cs
- AutomationElement.cs
- ColumnResizeAdorner.cs
- Pair.cs
- ProtectedUri.cs
- FormatConvertedBitmap.cs
- DynamicPropertyReader.cs
- FileVersionInfo.cs
- TemplatePartAttribute.cs
- AppDomainFactory.cs
- DynamicEntity.cs
- DataGridViewAutoSizeModeEventArgs.cs
- PathStreamGeometryContext.cs
- FilterableData.cs
- PageAsyncTaskManager.cs
- TimelineCollection.cs
- Clipboard.cs
- InternalSafeNativeMethods.cs
- XmlValidatingReader.cs
- Misc.cs
- ComponentCodeDomSerializer.cs
- DesignerActionService.cs
- AuthenticationSection.cs
- LOSFormatter.cs
- SQLBytes.cs
- FixedDSBuilder.cs
- DefaultParameterValueAttribute.cs
- ContentIterators.cs
- ResourceProviderFactory.cs
- XmlSchemaExporter.cs
- CrossSiteScriptingValidation.cs
- Underline.cs
- BamlRecordReader.cs
- ExpanderAutomationPeer.cs
- SQLDateTime.cs
- EnumType.cs
- DataGridViewMethods.cs
- System.Data.OracleClient_BID.cs
- Literal.cs
- State.cs
- IndexObject.cs
- ModelTreeEnumerator.cs
- HttpStreamMessageEncoderFactory.cs
- ListViewTableCell.cs
- RawMouseInputReport.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- SchemaImporterExtensionElementCollection.cs
- OdbcErrorCollection.cs
- OrCondition.cs
- SimpleRecyclingCache.cs
- MultilineStringEditor.cs
- SoapClientProtocol.cs
- BrowserDefinition.cs
- XmlNodeReader.cs
- WindowProviderWrapper.cs
- _HeaderInfoTable.cs
- TextElementEnumerator.cs
- Main.cs
- SqlTopReducer.cs
- XPathChildIterator.cs
- MethodAccessException.cs