Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // // ==--== /*============================================================================== ** ** 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ValueTypeFixupInfo.cs
- TabPanel.cs
- InfoCardX509Validator.cs
- X509Chain.cs
- ProfileParameter.cs
- SqlBulkCopyColumnMappingCollection.cs
- SafeNativeHandle.cs
- ConcurrentBag.cs
- ChangePasswordDesigner.cs
- CustomError.cs
- CounterCreationDataConverter.cs
- PopupRoot.cs
- Thread.cs
- ImageButton.cs
- StringToken.cs
- IntSecurity.cs
- StringStorage.cs
- IndexedString.cs
- TypedServiceOperationListItem.cs
- WebPartZoneCollection.cs
- TextTreeText.cs
- Base64Encoder.cs
- WebPartZoneBase.cs
- GifBitmapEncoder.cs
- NotifyParentPropertyAttribute.cs
- WebConfigurationFileMap.cs
- MSHTMLHost.cs
- ImagingCache.cs
- UrlMapping.cs
- COM2Properties.cs
- PanelDesigner.cs
- AssemblySettingAttributes.cs
- PropertyEmitter.cs
- ListBindingConverter.cs
- WebUtil.cs
- WebPartEditVerb.cs
- BackgroundFormatInfo.cs
- ListItemsCollectionEditor.cs
- SafeViewOfFileHandle.cs
- DetailsViewCommandEventArgs.cs
- TextCharacters.cs
- CacheChildrenQuery.cs
- TextEditorContextMenu.cs
- MetadataLocation.cs
- UpdateCommand.cs
- WindowsFont.cs
- UInt64Converter.cs
- GridLengthConverter.cs
- Misc.cs
- Padding.cs
- InkCanvasFeedbackAdorner.cs
- AbstractDataSvcMapFileLoader.cs
- CodeIdentifiers.cs
- CompareValidator.cs
- VerificationException.cs
- assertwrapper.cs
- SchemaNames.cs
- DeferredReference.cs
- PointIndependentAnimationStorage.cs
- FileDialogCustomPlacesCollection.cs
- DataGridAddNewRow.cs
- IISUnsafeMethods.cs
- CaseInsensitiveComparer.cs
- HttpRuntime.cs
- XmlAnyElementAttribute.cs
- WorkflowCommandExtensionItem.cs
- XmlToDatasetMap.cs
- columnmapkeybuilder.cs
- CryptographicAttribute.cs
- UIElement3D.cs
- CodeExpressionStatement.cs
- EditBehavior.cs
- QilNode.cs
- FilteredDataSetHelper.cs
- StoreAnnotationsMap.cs
- ProxyGenerationError.cs
- DataGridViewBindingCompleteEventArgs.cs
- SchemaAttDef.cs
- UInt32Storage.cs
- AnnotationResourceChangedEventArgs.cs
- PagePropertiesChangingEventArgs.cs
- LoadItemsEventArgs.cs
- XmlSchemaSimpleType.cs
- Help.cs
- ConfigurationSettings.cs
- Int32AnimationBase.cs
- OdbcInfoMessageEvent.cs
- SkinIDTypeConverter.cs
- PenCursorManager.cs
- VSWCFServiceContractGenerator.cs
- RawStylusInputCustomData.cs
- MediaTimeline.cs
- StrongNamePublicKeyBlob.cs
- JpegBitmapDecoder.cs
- OptionUsage.cs
- RawStylusInputCustomData.cs
- SingleAnimationBase.cs
- AppDomain.cs
- DataColumnMapping.cs
- NonSerializedAttribute.cs