Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / Runtime / Remoting / __TransparentProxy.cs / 1 / __TransparentProxy.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** File: __TransparentProxy.cs ** ** ** Purpose: Defines Transparent proxy ** ** ===========================================================*/ namespace System.Runtime.Remoting.Proxies { using System.Runtime.Remoting; // Transparent proxy and Real proxy are vital pieces of the // remoting data structures. Transparent proxy magically // creates a message that represents a call on it and delegates // to the Real proxy to do the real remoting work. using System; internal sealed class __TransparentProxy { // Created inside EE private __TransparentProxy() { throw new NotSupportedException(Environment.GetResourceString(ResId.NotSupported_Constructor)); } // Private members called by VM #pragma warning disable 169 private RealProxy _rp; // Reference to the real proxy private Object _stubData; // Data used by stubs to decide whether to short circuit calls or not private IntPtr _pMT; // Method table of the class this proxy represents private IntPtr _pInterfaceMT; // Cached interface method table private IntPtr _stub; // Unmanaged code that decides whether to short circuit calls or not #pragma warning restore 169 } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** File: __TransparentProxy.cs ** ** ** Purpose: Defines Transparent proxy ** ** ===========================================================*/ namespace System.Runtime.Remoting.Proxies { using System.Runtime.Remoting; // Transparent proxy and Real proxy are vital pieces of the // remoting data structures. Transparent proxy magically // creates a message that represents a call on it and delegates // to the Real proxy to do the real remoting work. using System; internal sealed class __TransparentProxy { // Created inside EE private __TransparentProxy() { throw new NotSupportedException(Environment.GetResourceString(ResId.NotSupported_Constructor)); } // Private members called by VM #pragma warning disable 169 private RealProxy _rp; // Reference to the real proxy private Object _stubData; // Data used by stubs to decide whether to short circuit calls or not private IntPtr _pMT; // Method table of the class this proxy represents private IntPtr _pInterfaceMT; // Cached interface method table private IntPtr _stub; // Unmanaged code that decides whether to short circuit calls or not #pragma warning restore 169 } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- smtppermission.cs
- OpCodes.cs
- UrlMappingsSection.cs
- MSAAEventDispatcher.cs
- ConfigXmlComment.cs
- ListViewTableCell.cs
- NamedObject.cs
- AssertHelper.cs
- PropertyTab.cs
- ToolStripItemCollection.cs
- SqlClientWrapperSmiStreamChars.cs
- XmlSchemaNotation.cs
- SQLGuid.cs
- SqlConnection.cs
- SimpleFieldTemplateFactory.cs
- ComponentResourceKey.cs
- RightsManagementErrorHandler.cs
- HttpListenerElement.cs
- FileDialog_Vista.cs
- TreeViewItem.cs
- RightNameExpirationInfoPair.cs
- CodeSnippetTypeMember.cs
- CompositeDuplexBindingElementImporter.cs
- ProjectionPlanCompiler.cs
- ObjectDataSourceFilteringEventArgs.cs
- URLString.cs
- RtfControlWordInfo.cs
- TextBreakpoint.cs
- HttpResponse.cs
- PersonalizationStateInfo.cs
- ExpressionVisitor.cs
- DataRelationPropertyDescriptor.cs
- DPCustomTypeDescriptor.cs
- WeakReference.cs
- HtmlEncodedRawTextWriter.cs
- StrokeCollectionDefaultValueFactory.cs
- DelegatingConfigHost.cs
- EventKeyword.cs
- EpmCustomContentDeSerializer.cs
- CapabilitiesSection.cs
- InvalidOperationException.cs
- Attributes.cs
- StringComparer.cs
- ListDictionaryInternal.cs
- ObjectListDataBindEventArgs.cs
- CTreeGenerator.cs
- TextBox.cs
- CaseDesigner.xaml.cs
- AppLevelCompilationSectionCache.cs
- SpeechSeg.cs
- EntityModelSchemaGenerator.cs
- DriveNotFoundException.cs
- WmlListAdapter.cs
- WeakReferenceKey.cs
- AdRotator.cs
- TextLine.cs
- ValidationHelper.cs
- CorrelationResolver.cs
- Message.cs
- SqlAliaser.cs
- Control.cs
- ZipFileInfoCollection.cs
- CodeDomLoader.cs
- ExtensibleClassFactory.cs
- Effect.cs
- CompatibleComparer.cs
- SQLResource.cs
- AutomationElement.cs
- XmlSchemaElement.cs
- TextPenaltyModule.cs
- FileVersionInfo.cs
- cookiecontainer.cs
- UserControlBuildProvider.cs
- SmtpDateTime.cs
- VisualStyleTypesAndProperties.cs
- XsdDateTime.cs
- CellQuery.cs
- OleDbParameter.cs
- HtmlImage.cs
- TextCharacters.cs
- TypedElement.cs
- SQLMoneyStorage.cs
- PathSegmentCollection.cs
- ScrollBar.cs
- PriorityQueue.cs
- KeyNotFoundException.cs
- BitmapCodecInfoInternal.cs
- WebPartConnectionsDisconnectVerb.cs
- HttpTransportSecurityElement.cs
- LockRecursionException.cs
- DataSourceCache.cs
- BitmapEffectGeneralTransform.cs
- NamedElement.cs
- Types.cs
- ReferencedCollectionType.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- CheckBox.cs
- XamlPathDataSerializer.cs
- LightweightCodeGenerator.cs
- Attachment.cs