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
- Rect.cs
- MarkupWriter.cs
- TabPanel.cs
- SiteMembershipCondition.cs
- WmfPlaceableFileHeader.cs
- WindowsGraphicsCacheManager.cs
- TickBar.cs
- StatusBar.cs
- PersonalizationDictionary.cs
- SynchronizationLockException.cs
- EmptyEnumerator.cs
- TreeNodeSelectionProcessor.cs
- TaskHelper.cs
- ListBase.cs
- OdbcException.cs
- ISessionStateStore.cs
- HtmlWindow.cs
- HandlerFactoryWrapper.cs
- NonPrimarySelectionGlyph.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- XMLSchema.cs
- BindingExpressionBase.cs
- HitTestDrawingContextWalker.cs
- ReflectionTypeLoadException.cs
- SqlServices.cs
- SqlDataSourceSummaryPanel.cs
- WebPartChrome.cs
- FontWeights.cs
- BrowserDefinition.cs
- HealthMonitoringSectionHelper.cs
- _LoggingObject.cs
- SmiGettersStream.cs
- ScriptModule.cs
- EntryPointNotFoundException.cs
- ClipboardData.cs
- Main.cs
- ToolStripLabel.cs
- Point3DCollectionConverter.cs
- BitArray.cs
- Helpers.cs
- BaseTemplateBuildProvider.cs
- RightNameExpirationInfoPair.cs
- PrimaryKeyTypeConverter.cs
- ApplicationGesture.cs
- PhysicalAddress.cs
- ProcessHostServerConfig.cs
- AssemblyBuilder.cs
- CodeConstructor.cs
- SamlDelegatingWriter.cs
- HtmlInputButton.cs
- DockPanel.cs
- BinaryExpression.cs
- RuntimeHelpers.cs
- PropertyChangingEventArgs.cs
- XmlDataLoader.cs
- ClipboardData.cs
- DateTimeStorage.cs
- AvtEvent.cs
- ReferencedCollectionType.cs
- XmlIlVisitor.cs
- FixedTextPointer.cs
- MailSettingsSection.cs
- NGCPageContentSerializerAsync.cs
- RelatedPropertyManager.cs
- columnmapkeybuilder.cs
- OdbcConnection.cs
- PropertyItemInternal.cs
- OleDbMetaDataFactory.cs
- SHA512.cs
- ArrayList.cs
- ExpressionPrinter.cs
- CodeGenerator.cs
- DesignerTransaction.cs
- HTMLTextWriter.cs
- LongValidator.cs
- Color.cs
- _AutoWebProxyScriptEngine.cs
- ReliabilityContractAttribute.cs
- ClientData.cs
- TimeoutConverter.cs
- TextEndOfParagraph.cs
- SQLBinary.cs
- MatchingStyle.cs
- DataListItemEventArgs.cs
- MsmqAppDomainProtocolHandler.cs
- RenderData.cs
- ChannelTerminatedException.cs
- AVElementHelper.cs
- TextParagraphView.cs
- SR.cs
- GenericTypeParameterBuilder.cs
- HtmlInputPassword.cs
- FunctionQuery.cs
- DBConnectionString.cs
- ReversePositionQuery.cs
- SafeSecurityHelper.cs
- _TLSstream.cs
- ReferenceService.cs
- AliasExpr.cs
- Int32Rect.cs