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
- CheckBox.cs
- AuthenticationModuleElementCollection.cs
- MSG.cs
- NGCSerializerAsync.cs
- SpStreamWrapper.cs
- ModuleBuilderData.cs
- HandlerFactoryCache.cs
- WindowCollection.cs
- DllNotFoundException.cs
- TypeBuilder.cs
- LogSwitch.cs
- DoubleCollectionConverter.cs
- KnownAssembliesSet.cs
- TypeInfo.cs
- DataGridViewDataConnection.cs
- CompilationUtil.cs
- ReadWriteControlDesigner.cs
- TypeUsage.cs
- Table.cs
- XamlTypeMapper.cs
- ColumnBinding.cs
- MenuItem.cs
- ComAdminInterfaces.cs
- ExpressionBindingCollection.cs
- Win32MouseDevice.cs
- QuerySetOp.cs
- MediaTimeline.cs
- TdsParserSafeHandles.cs
- SecureConversationDriver.cs
- StackBuilderSink.cs
- LeaseManager.cs
- OrCondition.cs
- Calendar.cs
- FormsAuthenticationModule.cs
- MsmqIntegrationChannelFactory.cs
- XmlSchemaImporter.cs
- ListManagerBindingsCollection.cs
- LocalServiceSecuritySettings.cs
- HasActivatableWorkflowEvent.cs
- DataGridViewComboBoxCell.cs
- DataListItem.cs
- TouchDevice.cs
- RegistrationServices.cs
- TableCellCollection.cs
- ToolStripSplitStackLayout.cs
- NameValueCollection.cs
- Line.cs
- _RequestLifetimeSetter.cs
- HelpInfo.cs
- ArrayWithOffset.cs
- PartitionResolver.cs
- ResourceBinder.cs
- XmlTypeMapping.cs
- DesignBinding.cs
- ToolStripDropDownItem.cs
- PackagingUtilities.cs
- HeaderedItemsControl.cs
- XmlNamespaceManager.cs
- ClientRuntimeConfig.cs
- XsdValidatingReader.cs
- DecoderExceptionFallback.cs
- CommandBinding.cs
- XmlLanguageConverter.cs
- LowerCaseStringConverter.cs
- Model3D.cs
- DropSource.cs
- CodeTypeMember.cs
- DynamicActionMessageFilter.cs
- DocumentCollection.cs
- EncryptedKey.cs
- PointHitTestParameters.cs
- IndentTextWriter.cs
- DataChangedEventManager.cs
- ACE.cs
- GcHandle.cs
- QueryHandler.cs
- GridViewHeaderRowPresenter.cs
- ASCIIEncoding.cs
- SoapSchemaImporter.cs
- FontDifferentiator.cs
- TranslateTransform3D.cs
- CheckPair.cs
- RotateTransform3D.cs
- objectresult_tresulttype.cs
- MaterialGroup.cs
- DetailsViewDeletedEventArgs.cs
- ListViewUpdateEventArgs.cs
- FormViewDesigner.cs
- BindToObject.cs
- CacheEntry.cs
- PolicyException.cs
- SchemaCompiler.cs
- basecomparevalidator.cs
- CompiledIdentityConstraint.cs
- CodeCommentStatementCollection.cs
- DictionarySectionHandler.cs
- PageParser.cs
- TextSelectionHelper.cs
- KeyValueSerializer.cs
- XmlCDATASection.cs