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
- TraceRecords.cs
- ZoomingMessageFilter.cs
- CommandSet.cs
- StreamGeometry.cs
- InvalidFilterCriteriaException.cs
- BypassElementCollection.cs
- ThrowHelper.cs
- ApplicationFileCodeDomTreeGenerator.cs
- AnchoredBlock.cs
- ScriptDescriptor.cs
- DbConnectionPool.cs
- DataGridState.cs
- NonParentingControl.cs
- ConfigXmlComment.cs
- QilBinary.cs
- DrawingContextWalker.cs
- StreamInfo.cs
- LineServicesCallbacks.cs
- StringUtil.cs
- DocumentSchemaValidator.cs
- Matrix3DValueSerializer.cs
- EventManager.cs
- ListBox.cs
- CultureMapper.cs
- VirtualPath.cs
- _SpnDictionary.cs
- RelationshipEndCollection.cs
- Crc32.cs
- DataColumnChangeEvent.cs
- XhtmlBasicPanelAdapter.cs
- SegmentInfo.cs
- Rect3D.cs
- PackageRelationship.cs
- PolyBezierSegmentFigureLogic.cs
- DataBoundLiteralControl.cs
- ToolBarButtonClickEvent.cs
- ArraySegment.cs
- OpacityConverter.cs
- Int32Rect.cs
- SspiSafeHandles.cs
- BCLDebug.cs
- SchemaImporterExtension.cs
- DetailsViewInsertedEventArgs.cs
- SafeSystemMetrics.cs
- JsonDeserializer.cs
- IgnoreFlushAndCloseStream.cs
- ViewGenerator.cs
- ColumnMapVisitor.cs
- ParameterExpression.cs
- IDQuery.cs
- BuildDependencySet.cs
- SerializationException.cs
- ObservableDictionary.cs
- ColumnCollection.cs
- XmlSignatureProperties.cs
- UIElementAutomationPeer.cs
- TextTreeFixupNode.cs
- TraceSection.cs
- StreamGeometryContext.cs
- RegexFCD.cs
- Compiler.cs
- RectIndependentAnimationStorage.cs
- ContentControl.cs
- HttpCookieCollection.cs
- ArgumentOutOfRangeException.cs
- Int32KeyFrameCollection.cs
- OleDbConnectionInternal.cs
- MappingSource.cs
- DocumentXPathNavigator.cs
- RectAnimationUsingKeyFrames.cs
- EventLogPermissionAttribute.cs
- DependencyPropertyAttribute.cs
- ToolboxComponentsCreatedEventArgs.cs
- AssertSection.cs
- HtmlDocument.cs
- EventNotify.cs
- UrlUtility.cs
- ControllableStoryboardAction.cs
- ObjectSecurity.cs
- InboundActivityHelper.cs
- CodeMethodReturnStatement.cs
- GridViewSelectEventArgs.cs
- BaseCollection.cs
- CommandBindingCollection.cs
- PropertyReferenceSerializer.cs
- URI.cs
- RotateTransform.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- PeerFlooder.cs
- AsyncOperationLifetimeManager.cs
- SqlBuilder.cs
- XmlSchemaGroup.cs
- ListViewPagedDataSource.cs
- MenuTracker.cs
- BuilderPropertyEntry.cs
- CodeConstructor.cs
- NamespaceDecl.cs
- EntityTypeEmitter.cs
- _Win32.cs
- PingOptions.cs