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
- FontDifferentiator.cs
- TextLineBreak.cs
- CodeObjectCreateExpression.cs
- SqlBulkCopyColumnMapping.cs
- EventMappingSettingsCollection.cs
- DiscoveryClientProtocol.cs
- HierarchicalDataBoundControl.cs
- CodeCommentStatement.cs
- XmlSerializer.cs
- CodeMemberField.cs
- EntityClientCacheEntry.cs
- QilPatternVisitor.cs
- DocumentViewer.cs
- RegexGroupCollection.cs
- DesignerForm.cs
- ListInitExpression.cs
- XamlTypeWithExplicitNamespace.cs
- TextRangeEdit.cs
- SafeHandle.cs
- BindingNavigator.cs
- EmptyQuery.cs
- WSDualHttpBinding.cs
- Statements.cs
- RenderContext.cs
- CodeAttachEventStatement.cs
- ListBindableAttribute.cs
- OrthographicCamera.cs
- sqlstateclientmanager.cs
- ToolboxComponentsCreatingEventArgs.cs
- ReferencedAssembly.cs
- WebPartEventArgs.cs
- DataContractFormatAttribute.cs
- PathGeometry.cs
- CodeMemberField.cs
- ExpandSegmentCollection.cs
- MatrixTransform.cs
- EntityParameterCollection.cs
- ObjectItemAssemblyLoader.cs
- UIElementHelper.cs
- SingleObjectCollection.cs
- WinCategoryAttribute.cs
- WebDescriptionAttribute.cs
- UdpTransportBindingElement.cs
- CapabilitiesState.cs
- SequenceFullException.cs
- AdapterDictionary.cs
- GridViewColumnCollectionChangedEventArgs.cs
- IndentTextWriter.cs
- DoubleAnimation.cs
- Update.cs
- PerformanceCounterLib.cs
- SystemIPv4InterfaceProperties.cs
- TargetParameterCountException.cs
- TypeSystem.cs
- ToolStripItemGlyph.cs
- ToolStripControlHost.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- ObjectCache.cs
- Globals.cs
- AmbientValueAttribute.cs
- TemplateParser.cs
- TextModifierScope.cs
- RowVisual.cs
- Decorator.cs
- XhtmlBasicLiteralTextAdapter.cs
- ElementsClipboardData.cs
- XmlSchemaComplexContentRestriction.cs
- ListBoxDesigner.cs
- FilterQueryOptionExpression.cs
- AddInBase.cs
- ProfilePropertySettingsCollection.cs
- SafeArrayTypeMismatchException.cs
- FederatedMessageSecurityOverHttp.cs
- BindToObject.cs
- PageHandlerFactory.cs
- TextElementEnumerator.cs
- HtmlTableCellCollection.cs
- CmsUtils.cs
- XmlSchemaComplexContentRestriction.cs
- OdbcRowUpdatingEvent.cs
- Queue.cs
- DelegateHelpers.Generated.cs
- ContentPropertyAttribute.cs
- InvalidFilterCriteriaException.cs
- ActivityAction.cs
- MailDefinitionBodyFileNameEditor.cs
- WebPartHeaderCloseVerb.cs
- UnauthorizedWebPart.cs
- EncryptedPackage.cs
- MemberInitExpression.cs
- MappingSource.cs
- Win32SafeHandles.cs
- OperationAbortedException.cs
- WebReferencesBuildProvider.cs
- FixUp.cs
- ProviderSettings.cs
- RowToFieldTransformer.cs
- PictureBox.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- VirtualDirectoryMapping.cs