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
- DataBinding.cs
- DataGridHelper.cs
- DiscoveryClient.cs
- AdPostCacheSubstitution.cs
- Rotation3DAnimation.cs
- DiagnosticsConfigurationHandler.cs
- SqlBulkCopy.cs
- XmlArrayItemAttributes.cs
- FileDialogPermission.cs
- DrawingState.cs
- IIS7UserPrincipal.cs
- DataComponentGenerator.cs
- HashCodeCombiner.cs
- WinFormsSecurity.cs
- PerformanceCounterPermissionEntry.cs
- DefaultPrintController.cs
- RuleSet.cs
- Char.cs
- ScrollBar.cs
- StopStoryboard.cs
- DataControlFieldsEditor.cs
- FixedSOMElement.cs
- BehaviorEditorPart.cs
- Walker.cs
- ServiceContractListItemList.cs
- NamedPermissionSet.cs
- ImageFormat.cs
- SynchronizedMessageSource.cs
- SqlConnectionPoolProviderInfo.cs
- UserInitiatedRoutedEventPermission.cs
- EntityProviderFactory.cs
- RawStylusSystemGestureInputReport.cs
- ApplicationServiceHelper.cs
- Subtree.cs
- OrCondition.cs
- DataControlLinkButton.cs
- SecurityKeyType.cs
- IsolationInterop.cs
- HtmlInputSubmit.cs
- Multiply.cs
- TiffBitmapEncoder.cs
- Size3D.cs
- StylusPointProperties.cs
- ParseHttpDate.cs
- Transform3DGroup.cs
- StateMachineTimers.cs
- SimplePropertyEntry.cs
- SmiContextFactory.cs
- FileDialog_Vista_Interop.cs
- InvalidPrinterException.cs
- FacetValues.cs
- RSAOAEPKeyExchangeDeformatter.cs
- ReferenceService.cs
- FilteredXmlReader.cs
- MetadataArtifactLoaderComposite.cs
- DataGridViewCellStateChangedEventArgs.cs
- CryptoConfig.cs
- ForEachAction.cs
- ComplexBindingPropertiesAttribute.cs
- InlinedAggregationOperatorEnumerator.cs
- RuleSetDialog.Designer.cs
- EncoderFallback.cs
- PartialArray.cs
- ManipulationVelocities.cs
- ToolStripItemClickedEventArgs.cs
- ZoneLinkButton.cs
- QueueProcessor.cs
- Button.cs
- Viewport3DAutomationPeer.cs
- Shape.cs
- ApplicationDirectory.cs
- InheritanceRules.cs
- FileCodeGroup.cs
- WebPartMenuStyle.cs
- DataSourceView.cs
- cookiecontainer.cs
- SafeMILHandle.cs
- PersonalizablePropertyEntry.cs
- QilUnary.cs
- TextServicesCompartment.cs
- RuntimeArgumentHandle.cs
- RegexInterpreter.cs
- SafeEventLogWriteHandle.cs
- UnaryExpression.cs
- OdbcError.cs
- VariantWrapper.cs
- HashAlgorithm.cs
- URL.cs
- DbInsertCommandTree.cs
- XmlEntity.cs
- NetTcpBindingElement.cs
- WindowsServiceElement.cs
- ToRequest.cs
- XmlLoader.cs
- WebPartVerb.cs
- InstanceDataCollectionCollection.cs
- Grant.cs
- DataGridViewCellConverter.cs
- BlurEffect.cs
- SymbolEqualComparer.cs