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
- DataMemberListEditor.cs
- AxHostDesigner.cs
- EntityDataSourceContextDisposingEventArgs.cs
- Int64AnimationBase.cs
- ChineseLunisolarCalendar.cs
- Scheduler.cs
- BinaryConverter.cs
- EncryptedXml.cs
- RequestCacheManager.cs
- DiscardableAttribute.cs
- DataServiceQueryException.cs
- BufferedReadStream.cs
- ItemTypeToolStripMenuItem.cs
- Nullable.cs
- LinkLabelLinkClickedEvent.cs
- PerformanceCounterLib.cs
- ThreadStaticAttribute.cs
- XsdDuration.cs
- GenericEnumConverter.cs
- PageTheme.cs
- SchemaDeclBase.cs
- DataBindingsDialog.cs
- MatrixAnimationUsingKeyFrames.cs
- ContextMenu.cs
- SqlCachedBuffer.cs
- EntityDataSourceQueryBuilder.cs
- MarginsConverter.cs
- CreateUserWizardStep.cs
- SubMenuStyleCollection.cs
- Int32.cs
- WeakRefEnumerator.cs
- HyperlinkAutomationPeer.cs
- PermissionListSet.cs
- SizeAnimationClockResource.cs
- DataControlLinkButton.cs
- BackgroundFormatInfo.cs
- ActivityXRefPropertyEditor.cs
- SerializationInfoEnumerator.cs
- WaitForChangedResult.cs
- ReliableMessagingVersionConverter.cs
- CacheSection.cs
- WebPartManagerInternals.cs
- OutputCacheProviderCollection.cs
- ScalarConstant.cs
- SoapRpcMethodAttribute.cs
- RangeValidator.cs
- EventLogger.cs
- TextServicesCompartmentContext.cs
- RepeaterItem.cs
- SimpleMailWebEventProvider.cs
- WMIInterop.cs
- MetadataUtilsSmi.cs
- RenderingEventArgs.cs
- UInt32Storage.cs
- DataTableReaderListener.cs
- TableDetailsRow.cs
- SimpleApplicationHost.cs
- LassoHelper.cs
- _LocalDataStoreMgr.cs
- ResourcePool.cs
- FieldDescriptor.cs
- PersonalizableTypeEntry.cs
- TypeElement.cs
- HttpRequestBase.cs
- ContractMapping.cs
- CachingHintValidation.cs
- DragEventArgs.cs
- ConfigurationElementCollection.cs
- SafePointer.cs
- ScrollChrome.cs
- ConstructorExpr.cs
- BinHexDecoder.cs
- TemplatedControlDesigner.cs
- NotImplementedException.cs
- RelativeSource.cs
- BinaryExpression.cs
- Descriptor.cs
- CompositeFontInfo.cs
- NativeMethods.cs
- SoapObjectReader.cs
- AsyncDataRequest.cs
- AnnotationStore.cs
- WsatProxy.cs
- ValueProviderWrapper.cs
- ConstantExpression.cs
- PixelFormat.cs
- InspectionWorker.cs
- HandleCollector.cs
- HttpDebugHandler.cs
- DocumentApplicationJournalEntry.cs
- Convert.cs
- ConfigXmlDocument.cs
- HTMLTagNameToTypeMapper.cs
- FileInfo.cs
- MetadataFile.cs
- DataControlField.cs
- Double.cs
- VerificationAttribute.cs
- File.cs
- ParsedAttributeCollection.cs