Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Interop / UserThread.cs / 1305376 / UserThread.cs
namespace System.Web.Services.Interop { using System; using System.Threading; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential)] internal class UserThread { internal int pSidBuffer; // byte * to buffer of size dwSidLen. internal int dwSidLen; internal int dwTid; internal UserThread() { pSidBuffer = 0; dwSidLen = 0; dwTid = 0; } public override bool Equals(object obj) { if (! (obj is UserThread)) { return false; } UserThread ut = (UserThread) obj; if (ut.dwTid == this.dwTid && ut.pSidBuffer == this.pSidBuffer && ut.dwSidLen == this.dwSidLen) { return true; } return false; } public override int GetHashCode() { return base.GetHashCode(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. namespace System.Web.Services.Interop { using System; using System.Threading; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential)] internal class UserThread { internal int pSidBuffer; // byte * to buffer of size dwSidLen. internal int dwSidLen; internal int dwTid; internal UserThread() { pSidBuffer = 0; dwSidLen = 0; dwTid = 0; } public override bool Equals(object obj) { if (! (obj is UserThread)) { return false; } UserThread ut = (UserThread) obj; if (ut.dwTid == this.dwTid && ut.pSidBuffer == this.pSidBuffer && ut.dwSidLen == this.dwSidLen) { return true; } return false; } public override int GetHashCode() { return base.GetHashCode(); } } } // 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
- FormsAuthenticationCredentials.cs
- MediaPlayer.cs
- HeaderedContentControl.cs
- PathSegment.cs
- SharedConnectionInfo.cs
- input.cs
- PolygonHotSpot.cs
- PriorityQueue.cs
- TaskHelper.cs
- HeaderedContentControl.cs
- HttpProfileGroupBase.cs
- TransformerInfo.cs
- TransactionContextValidator.cs
- TextProviderWrapper.cs
- FilePrompt.cs
- DefaultBindingPropertyAttribute.cs
- ScrollableControl.cs
- GregorianCalendarHelper.cs
- PerfCounterSection.cs
- StyleHelper.cs
- ValidationHelpers.cs
- HtmlAnchor.cs
- SoapElementAttribute.cs
- SchemaMapping.cs
- LoginStatusDesigner.cs
- XmlIterators.cs
- EUCJPEncoding.cs
- SafeRsaProviderHandle.cs
- ColumnResizeAdorner.cs
- BasicViewGenerator.cs
- SrgsElement.cs
- XmlSchemaAttributeGroupRef.cs
- VectorAnimation.cs
- httpstaticobjectscollection.cs
- ConfigurationSettings.cs
- SessionPageStateSection.cs
- ButtonChrome.cs
- RecordManager.cs
- ProfileProvider.cs
- SymLanguageVendor.cs
- RelationshipType.cs
- ComponentChangedEvent.cs
- DecimalStorage.cs
- GeometryModel3D.cs
- SafeCryptContextHandle.cs
- UnsafeNativeMethods.cs
- SiteMapNodeItem.cs
- ImageCollectionEditor.cs
- WebServiceData.cs
- HttpAsyncResult.cs
- CryptoStream.cs
- DoubleCollection.cs
- PanelStyle.cs
- SyndicationDeserializer.cs
- XhtmlConformanceSection.cs
- X500Name.cs
- SerializerProvider.cs
- InkCollectionBehavior.cs
- FileDialogPermission.cs
- WebZone.cs
- XmlConvert.cs
- MailWebEventProvider.cs
- ProfilePropertyNameValidator.cs
- IssuedTokenClientBehaviorsElement.cs
- HttpRequestTraceRecord.cs
- XmlMembersMapping.cs
- ProcessThreadCollection.cs
- CalendarAutoFormatDialog.cs
- MediaPlayerState.cs
- DataContext.cs
- WebPartConnectionsCancelVerb.cs
- IgnoreFileBuildProvider.cs
- ADRoleFactoryConfiguration.cs
- StandardBindingCollectionElement.cs
- QueryInterceptorAttribute.cs
- ColumnReorderedEventArgs.cs
- KnownTypeAttribute.cs
- AuthStoreRoleProvider.cs
- isolationinterop.cs
- EmitterCache.cs
- SimpleHandlerBuildProvider.cs
- HtmlHistory.cs
- CornerRadiusConverter.cs
- FileSystemWatcher.cs
- CancellableEnumerable.cs
- ThemeableAttribute.cs
- TemplateBamlTreeBuilder.cs
- ChannelPoolSettingsElement.cs
- DataGridBeginningEditEventArgs.cs
- FrameworkTemplate.cs
- HtmlTernaryTree.cs
- TableRowCollection.cs
- XPathNavigatorException.cs
- BoundPropertyEntry.cs
- FileDataSourceCache.cs
- PrinterUnitConvert.cs
- QueryConverter.cs
- DateTime.cs
- XmlNullResolver.cs
- TypeToArgumentTypeConverter.cs