Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InputLanguageProfileNotifySink.cs
- ToggleButtonAutomationPeer.cs
- SoapReflectionImporter.cs
- CultureMapper.cs
- X500Name.cs
- DragDeltaEventArgs.cs
- CodePageUtils.cs
- MdImport.cs
- Span.cs
- DataSourceListEditor.cs
- ChannelDispatcherBase.cs
- GuidelineSet.cs
- WebHttpDispatchOperationSelector.cs
- EventProvider.cs
- SemaphoreFullException.cs
- FloaterBaseParaClient.cs
- TextEditorTables.cs
- FormViewRow.cs
- PropertyValueUIItem.cs
- ColorConvertedBitmap.cs
- KeyBinding.cs
- ObjectHandle.cs
- SignatureHelper.cs
- hresults.cs
- CaseInsensitiveHashCodeProvider.cs
- DbConnectionOptions.cs
- CutCopyPasteHelper.cs
- RenderOptions.cs
- SimplePropertyEntry.cs
- SHA256Managed.cs
- DependencyObjectType.cs
- ListDictionary.cs
- ZipIOExtraFieldZip64Element.cs
- FloaterParaClient.cs
- ProgressBar.cs
- SyndicationDeserializer.cs
- FlowDocumentFormatter.cs
- DocumentGrid.cs
- UriTemplatePathPartiallyEquivalentSet.cs
- UpdateProgress.cs
- SmtpNegotiateAuthenticationModule.cs
- ContextCorrelationInitializer.cs
- PartialList.cs
- ObsoleteAttribute.cs
- MissingMemberException.cs
- TextBoxRenderer.cs
- AttributeProviderAttribute.cs
- SqlTypesSchemaImporter.cs
- TextFormatter.cs
- DataGridRowHeaderAutomationPeer.cs
- PointF.cs
- InvalidOperationException.cs
- TrackingQuery.cs
- NumericUpDownAccelerationCollection.cs
- CryptoHandle.cs
- smtpconnection.cs
- HtmlShimManager.cs
- DataServiceContext.cs
- RangeValueProviderWrapper.cs
- ExpressionVisitor.cs
- ModuleConfigurationInfo.cs
- EntityDataSourceMemberPath.cs
- HotSpotCollection.cs
- EnumValidator.cs
- PageAction.cs
- ClientFormsIdentity.cs
- XPathException.cs
- EllipseGeometry.cs
- ClientSettingsProvider.cs
- QuaternionValueSerializer.cs
- Signature.cs
- ListenerChannelContext.cs
- TemplatePropertyEntry.cs
- wgx_sdk_version.cs
- ParagraphVisual.cs
- QilCloneVisitor.cs
- OptimizerPatterns.cs
- RtfControls.cs
- TdsParserSessionPool.cs
- EtwTrace.cs
- BackgroundFormatInfo.cs
- XmlImplementation.cs
- HtmlGenericControl.cs
- PrintPreviewGraphics.cs
- StoryFragments.cs
- ExpandoClass.cs
- TextElementEditingBehaviorAttribute.cs
- ImageClickEventArgs.cs
- ProjectionCamera.cs
- ValidationHelpers.cs
- QueryStringParameter.cs
- ServiceChannelManager.cs
- SqlTopReducer.cs
- DocumentPageTextView.cs
- XmlSchemaException.cs
- QuadraticBezierSegment.cs
- ping.cs
- PersonalizationAdministration.cs
- FixedHighlight.cs
- RemotingAttributes.cs