Code:
/ DotNET / DotNET / 8.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
- MouseButtonEventArgs.cs
- StoreItemCollection.Loader.cs
- XmlSignatureManifest.cs
- PreDigestedSignedInfo.cs
- TextFormatterContext.cs
- ServiceSecurityContext.cs
- DataBoundLiteralControl.cs
- TypedReference.cs
- Module.cs
- ServiceModelStringsVersion1.cs
- FormsAuthenticationCredentials.cs
- TimelineGroup.cs
- SupportingTokenBindingElement.cs
- NonSerializedAttribute.cs
- LZCodec.cs
- LineInfo.cs
- ScrollBarRenderer.cs
- RequestedSignatureDialog.cs
- ActivityMetadata.cs
- DetailsViewCommandEventArgs.cs
- HostedElements.cs
- SqlUtils.cs
- CodeAttributeArgumentCollection.cs
- MouseOverProperty.cs
- QilValidationVisitor.cs
- ScrollBarRenderer.cs
- ResolveMatchesMessage11.cs
- WebPartVerb.cs
- SQLInt16.cs
- Animatable.cs
- FixUpCollection.cs
- CoreSwitches.cs
- Events.cs
- ImpersonationContext.cs
- CookielessHelper.cs
- InstanceContextMode.cs
- _FtpDataStream.cs
- FullTrustAssembliesSection.cs
- TopClause.cs
- SessionStateSection.cs
- FileUpload.cs
- COM2ComponentEditor.cs
- DisplayNameAttribute.cs
- RawStylusInputCustomData.cs
- Statements.cs
- ObjectListCommand.cs
- ProjectionCamera.cs
- FocusTracker.cs
- Win32KeyboardDevice.cs
- ColorDialog.cs
- HttpDebugHandler.cs
- HttpPostServerProtocol.cs
- QueryStringParameter.cs
- StrokeNodeOperations2.cs
- PointCollectionValueSerializer.cs
- BamlLocalizer.cs
- EmptyImpersonationContext.cs
- XhtmlBasicCalendarAdapter.cs
- SHA1CryptoServiceProvider.cs
- DesignerAutoFormatCollection.cs
- HttpProfileGroupBase.cs
- ObjectStateFormatter.cs
- EmptyEnumerator.cs
- XmlQueryStaticData.cs
- AutomationIdentifier.cs
- TextSimpleMarkerProperties.cs
- FieldTemplateFactory.cs
- DataServiceKeyAttribute.cs
- ReliabilityContractAttribute.cs
- followingsibling.cs
- OperatorExpressions.cs
- DesignerListAdapter.cs
- TypeConverter.cs
- CurrentChangingEventManager.cs
- SymbolEqualComparer.cs
- SafeSecurityHandles.cs
- ServiceOperationDetailViewControl.cs
- CommandBinding.cs
- TextEditorMouse.cs
- ReaderWriterLockWrapper.cs
- StorageInfo.cs
- EntityDataSourceContextCreatingEventArgs.cs
- EntityWrapperFactory.cs
- BamlLocalizationDictionary.cs
- SymmetricCryptoHandle.cs
- DataStreamFromComStream.cs
- DetailsViewUpdatedEventArgs.cs
- RelationshipEndMember.cs
- _StreamFramer.cs
- CompositeScriptReference.cs
- Margins.cs
- BaseTemplateBuildProvider.cs
- SafeWaitHandle.cs
- ChildrenQuery.cs
- ConstrainedGroup.cs
- CategoryGridEntry.cs
- DataSourceView.cs
- DesignerView.Commands.cs
- ShortcutKeysEditor.cs
- Visitors.cs