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
- DataBindingCollectionConverter.cs
- RemotingAttributes.cs
- IconBitmapDecoder.cs
- RegexGroupCollection.cs
- MouseWheelEventArgs.cs
- XmlMembersMapping.cs
- TypeDescriptionProviderAttribute.cs
- BaseHashHelper.cs
- AbsoluteQuery.cs
- SharedPersonalizationStateInfo.cs
- ItemCollection.cs
- ObjectDataSource.cs
- DictionarySectionHandler.cs
- DescendentsWalkerBase.cs
- XPathConvert.cs
- FormViewAutoFormat.cs
- StreamHelper.cs
- ProxyHelper.cs
- MailSettingsSection.cs
- TextBoxRenderer.cs
- DocumentViewerBaseAutomationPeer.cs
- DrawListViewColumnHeaderEventArgs.cs
- DynamicDiscoveryDocument.cs
- _NestedMultipleAsyncResult.cs
- EventManager.cs
- ModelTreeEnumerator.cs
- DataGridColumn.cs
- CommandID.cs
- FormViewPageEventArgs.cs
- SQLRoleProvider.cs
- ValuePattern.cs
- WeakEventTable.cs
- WmfPlaceableFileHeader.cs
- AccessText.cs
- HtmlTextViewAdapter.cs
- StreamGeometryContext.cs
- DataExpression.cs
- ApplicationSettingsBase.cs
- ReadWriteObjectLock.cs
- Types.cs
- ProviderSettingsCollection.cs
- EventLogPermissionEntry.cs
- LogLogRecord.cs
- BitmapFrameDecode.cs
- MatrixKeyFrameCollection.cs
- ResourceDescriptionAttribute.cs
- EventLogPermissionAttribute.cs
- ObjectManager.cs
- CalendarButtonAutomationPeer.cs
- TimersDescriptionAttribute.cs
- TemplateNameScope.cs
- FormViewCommandEventArgs.cs
- InfiniteTimeSpanConverter.cs
- MsmqHostedTransportConfiguration.cs
- WebPartActionVerb.cs
- ListGeneralPage.cs
- AttachmentService.cs
- X509Certificate2.cs
- Timer.cs
- HttpCacheParams.cs
- EventLogPermissionEntry.cs
- XmlAtomicValue.cs
- _SecureChannel.cs
- ProcessThread.cs
- TypeDescriptor.cs
- ComponentConverter.cs
- DataGridViewColumnHeaderCell.cs
- ChangeNode.cs
- SingleKeyFrameCollection.cs
- TableMethodGenerator.cs
- AppSettingsSection.cs
- DiagnosticsConfiguration.cs
- RegisteredArrayDeclaration.cs
- Function.cs
- SimpleType.cs
- SHA512.cs
- PerformanceCounterPermissionAttribute.cs
- URLIdentityPermission.cs
- DataTableCollection.cs
- SettingsContext.cs
- UserControlAutomationPeer.cs
- DataErrorValidationRule.cs
- LicenseContext.cs
- ReversePositionQuery.cs
- StreamReader.cs
- ApplicationSecurityInfo.cs
- DataServiceClientException.cs
- FontStretchConverter.cs
- ApplicationGesture.cs
- Model3DCollection.cs
- TraceSection.cs
- ValueChangedEventManager.cs
- ReverseInheritProperty.cs
- AddressAlreadyInUseException.cs
- CharacterString.cs
- LineServicesRun.cs
- CustomValidator.cs
- ListViewSortEventArgs.cs
- SqlDataReaderSmi.cs
- SQLDateTimeStorage.cs