Code:
/ FX-1434 / FX-1434 / 1.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
- AuthorizationRule.cs
- Propagator.ExtentPlaceholderCreator.cs
- JsonQueryStringConverter.cs
- MimeMapping.cs
- DataGridTable.cs
- SortedList.cs
- RemotingAttributes.cs
- DataBindingCollectionConverter.cs
- StrokeNodeOperations.cs
- PathFigureCollection.cs
- BitmapEffectInputData.cs
- XmlILOptimizerVisitor.cs
- MouseEventArgs.cs
- IDQuery.cs
- CodeDirectoryCompiler.cs
- CompilationRelaxations.cs
- SecurityDocument.cs
- DataBinding.cs
- BitmapEffectGroup.cs
- sqlstateclientmanager.cs
- XmlSchemaSimpleTypeRestriction.cs
- CompositionAdorner.cs
- FrameworkPropertyMetadata.cs
- SecurityTokenSerializer.cs
- FrameworkObject.cs
- EntityStoreSchemaFilterEntry.cs
- DeploymentSection.cs
- CompositeDuplexElement.cs
- Menu.cs
- XPathAncestorQuery.cs
- SecurityTraceRecordHelper.cs
- XmlReader.cs
- VersionConverter.cs
- SegmentInfo.cs
- ErrorEventArgs.cs
- FixedPage.cs
- XPathDescendantIterator.cs
- ByteStorage.cs
- EnvelopedPkcs7.cs
- UnitySerializationHolder.cs
- Stack.cs
- WebPartZoneDesigner.cs
- TextCollapsingProperties.cs
- _NTAuthentication.cs
- WsrmFault.cs
- WsdlContractConversionContext.cs
- Triangle.cs
- StrictModeSecurityHeaderElementInferenceEngine.cs
- KnownTypesProvider.cs
- formatter.cs
- EastAsianLunisolarCalendar.cs
- SplashScreenNativeMethods.cs
- SiblingIterators.cs
- LocalBuilder.cs
- FormViewInsertedEventArgs.cs
- BindingMAnagerBase.cs
- ClientBuildManagerCallback.cs
- RootContext.cs
- StructuredType.cs
- TableItemStyle.cs
- CustomActivityDesigner.cs
- CornerRadius.cs
- DesignerLoader.cs
- ViewStateModeByIdAttribute.cs
- GridViewRowCollection.cs
- TreeViewItemAutomationPeer.cs
- WindowsGrip.cs
- CipherData.cs
- DLinqDataModelProvider.cs
- ColumnBinding.cs
- CapacityStreamGeometryContext.cs
- ImageSource.cs
- StringStorage.cs
- smtppermission.cs
- ReservationNotFoundException.cs
- EmptyEnumerator.cs
- XNodeNavigator.cs
- MonthCalendar.cs
- ReceiveActivityDesignerTheme.cs
- CompressStream.cs
- Pen.cs
- OleDbErrorCollection.cs
- ToolStripOverflowButton.cs
- _NetworkingPerfCounters.cs
- MemoryMappedViewAccessor.cs
- EmulateRecognizeCompletedEventArgs.cs
- GroupStyle.cs
- ControlOperationInvoker.cs
- ToolStripSettings.cs
- DropTarget.cs
- ParameterElementCollection.cs
- StringValidatorAttribute.cs
- ProgressBar.cs
- SqlConnectionFactory.cs
- GradientStop.cs
- RequestSecurityToken.cs
- Permission.cs
- MsmqBindingBase.cs
- NavigateEvent.cs
- PackUriHelper.cs