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
- indexingfiltermarshaler.cs
- WriteLine.cs
- XMLSyntaxException.cs
- FormatConvertedBitmap.cs
- EpmTargetTree.cs
- DateTimeUtil.cs
- DynamicScriptObject.cs
- recordstatefactory.cs
- GrammarBuilder.cs
- XhtmlMobileTextWriter.cs
- TriggerAction.cs
- HtmlPanelAdapter.cs
- ProfilePropertySettings.cs
- AutomationPropertyChangedEventArgs.cs
- SuppressIldasmAttribute.cs
- PersonalizationStateQuery.cs
- PageClientProxyGenerator.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- ErrorEventArgs.cs
- HttpHandlerActionCollection.cs
- HotSpotCollection.cs
- AddInBase.cs
- PassportAuthenticationEventArgs.cs
- SchemaCompiler.cs
- XmlDataSource.cs
- TimeoutValidationAttribute.cs
- ImagingCache.cs
- LinearQuaternionKeyFrame.cs
- XmlDocumentType.cs
- Path.cs
- CodeVariableDeclarationStatement.cs
- GetCertificateRequest.cs
- DbParameterCollection.cs
- CssClassPropertyAttribute.cs
- XsltLoader.cs
- GridViewRowCollection.cs
- CapabilitiesRule.cs
- ResXResourceReader.cs
- DispatcherSynchronizationContext.cs
- BindingBase.cs
- HttpProcessUtility.cs
- EntityDataSourceChangingEventArgs.cs
- BlurBitmapEffect.cs
- XamlSerializerUtil.cs
- Timer.cs
- SQLStringStorage.cs
- TextTreeFixupNode.cs
- DataObjectAttribute.cs
- SetUserPreferenceRequest.cs
- CollaborationHelperFunctions.cs
- Deserializer.cs
- SoapExtensionStream.cs
- ClientData.cs
- IfJoinedCondition.cs
- ProgressBar.cs
- ToolStripRenderer.cs
- RuntimeHelpers.cs
- SourceFilter.cs
- ServiceBehaviorElementCollection.cs
- DebugView.cs
- ReadOnlyDataSourceView.cs
- MatrixIndependentAnimationStorage.cs
- WebExceptionStatus.cs
- SqlTypeConverter.cs
- LocationSectionRecord.cs
- glyphs.cs
- DataServiceException.cs
- IISUnsafeMethods.cs
- Baml2006KnownTypes.cs
- UniqueIdentifierService.cs
- Token.cs
- VirtualizedItemPattern.cs
- Roles.cs
- WebRequestModuleElement.cs
- QueryComponents.cs
- StringConcat.cs
- QuadraticBezierSegment.cs
- DayRenderEvent.cs
- ListViewCancelEventArgs.cs
- StrongNameKeyPair.cs
- XmlHelper.cs
- odbcmetadatacolumnnames.cs
- DeferredElementTreeState.cs
- UniqueConstraint.cs
- LinkConverter.cs
- DataService.cs
- Separator.cs
- ResourceDescriptionAttribute.cs
- Variable.cs
- XmlDownloadManager.cs
- SqlDependencyUtils.cs
- ReadWriteSpinLock.cs
- IgnorePropertiesAttribute.cs
- SqlBulkCopy.cs
- EditorReuseAttribute.cs
- CallTemplateAction.cs
- MemoryRecordBuffer.cs
- CommunicationObjectAbortedException.cs
- WebPartAuthorizationEventArgs.cs
- ToolStripContentPanel.cs