Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlComplianceUtil.cs
- MetadataLocation.cs
- ListViewGroupConverter.cs
- XmlImplementation.cs
- DatagridviewDisplayedBandsData.cs
- XmlSchemaAnnotated.cs
- PersonalizationStateInfo.cs
- PeerApplicationLaunchInfo.cs
- X509ClientCertificateAuthentication.cs
- ReadOnlyPropertyMetadata.cs
- CompositeCollection.cs
- DataGridViewCellStyle.cs
- AudioBase.cs
- InheritablePropertyChangeInfo.cs
- ConnectionStringSettings.cs
- Visual3DCollection.cs
- VisualStyleTypesAndProperties.cs
- RenderTargetBitmap.cs
- PerformanceCounterCategory.cs
- FieldBuilder.cs
- Pts.cs
- CommandField.cs
- ModelItemImpl.cs
- CompModHelpers.cs
- XmlChildEnumerator.cs
- JoinSymbol.cs
- ImportException.cs
- KeyedQueue.cs
- DynamicILGenerator.cs
- StylusPointPropertyId.cs
- RightsManagementEncryptionTransform.cs
- ObjectNavigationPropertyMapping.cs
- NativeRecognizer.cs
- FlowDocumentPageViewerAutomationPeer.cs
- ContentType.cs
- ThumbButtonInfo.cs
- DataListItemEventArgs.cs
- XmlChildNodes.cs
- DbInsertCommandTree.cs
- StateRuntime.cs
- GcHandle.cs
- ProgressBarBrushConverter.cs
- CharConverter.cs
- RC2.cs
- ManifestResourceInfo.cs
- ControlUtil.cs
- ProfileSection.cs
- PeerName.cs
- BaseCAMarshaler.cs
- CallbackException.cs
- HtmlWindowCollection.cs
- PersonalizationProviderHelper.cs
- MessageHeaderInfoTraceRecord.cs
- VariableElement.cs
- CodeTypeDelegate.cs
- DecimalStorage.cs
- BrowserCapabilitiesFactoryBase.cs
- ProfileSettings.cs
- Helpers.cs
- ListViewTableRow.cs
- NumericUpDownAcceleration.cs
- BamlLocalizer.cs
- StrongNamePublicKeyBlob.cs
- WindowsTooltip.cs
- Line.cs
- CompressStream.cs
- KeyMatchBuilder.cs
- ReliableSessionBindingElementImporter.cs
- DesignOnlyAttribute.cs
- SafeEventLogWriteHandle.cs
- GeneralTransform2DTo3D.cs
- WebPartMenuStyle.cs
- DownloadProgressEventArgs.cs
- ProfileProvider.cs
- QueryStringParameter.cs
- PrintPreviewDialog.cs
- BrushMappingModeValidation.cs
- SystemNetworkInterface.cs
- ArcSegment.cs
- OleDbTransaction.cs
- TemplateInstanceAttribute.cs
- ExpandSegmentCollection.cs
- OdbcDataAdapter.cs
- ServiceThrottlingElement.cs
- WebPartCatalogCloseVerb.cs
- DataFieldConverter.cs
- ObservableCollection.cs
- XmlSchemaElement.cs
- SocketPermission.cs
- BindingCollectionElement.cs
- SoapFault.cs
- LongAverageAggregationOperator.cs
- EntityDataSourceContextDisposingEventArgs.cs
- Int32CollectionValueSerializer.cs
- EdmSchemaError.cs
- xamlnodes.cs
- DataControlFieldCell.cs
- PersistenceProviderDirectory.cs
- WindowsAuthenticationEventArgs.cs
- DesignSurfaceEvent.cs