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
- DNS.cs
- SID.cs
- ServiceNameCollection.cs
- _OverlappedAsyncResult.cs
- ToolBar.cs
- SaveWorkflowAsyncResult.cs
- ControlValuePropertyAttribute.cs
- IconBitmapDecoder.cs
- DBSqlParserTable.cs
- Triangle.cs
- Win32NamedPipes.cs
- SupportsEventValidationAttribute.cs
- Stack.cs
- UdpAnnouncementEndpoint.cs
- OutOfProcStateClientManager.cs
- ObjectNavigationPropertyMapping.cs
- PolyBezierSegment.cs
- XsltContext.cs
- KeyPressEvent.cs
- CodeDomSerializationProvider.cs
- AnimatedTypeHelpers.cs
- TrailingSpaceComparer.cs
- EventHandlersStore.cs
- HttpModuleAction.cs
- VectorCollectionValueSerializer.cs
- Label.cs
- DataGridViewCellPaintingEventArgs.cs
- ToolboxItemSnapLineBehavior.cs
- State.cs
- RelativeSource.cs
- DataGridViewRowHeaderCell.cs
- StorageMappingItemCollection.cs
- ProviderSettingsCollection.cs
- MailMessageEventArgs.cs
- WasHttpHandlersInstallComponent.cs
- PropertyKey.cs
- SystemIPGlobalStatistics.cs
- IIS7WorkerRequest.cs
- PeerNameRegistration.cs
- EntityKey.cs
- ExceptionUtil.cs
- MobileResource.cs
- FileDialog_Vista_Interop.cs
- HotSpot.cs
- EnumerableValidator.cs
- CodeCatchClauseCollection.cs
- EntityDesignerBuildProvider.cs
- MessageBox.cs
- GZipUtils.cs
- MethodBody.cs
- __FastResourceComparer.cs
- DirectionalLight.cs
- StaticSiteMapProvider.cs
- PropertyTabAttribute.cs
- ObjectConverter.cs
- Certificate.cs
- CounterSampleCalculator.cs
- ThreadExceptionDialog.cs
- ImageCodecInfo.cs
- CutCopyPasteHelper.cs
- BlurBitmapEffect.cs
- Merger.cs
- SystemWebSectionGroup.cs
- InstanceHandle.cs
- CredentialSelector.cs
- BoundColumn.cs
- ExtendedTransformFactory.cs
- BamlBinaryReader.cs
- TextViewSelectionProcessor.cs
- HyperLinkField.cs
- FormClosingEvent.cs
- MimePart.cs
- DataGridViewControlCollection.cs
- DataGridViewCellParsingEventArgs.cs
- StringConverter.cs
- StreamWriter.cs
- Completion.cs
- RelOps.cs
- ExtendedPropertyCollection.cs
- ConstraintCollection.cs
- EntitySqlQueryCacheKey.cs
- Unit.cs
- FrameworkContentElementAutomationPeer.cs
- PassportAuthenticationModule.cs
- RoleManagerModule.cs
- ListParagraph.cs
- ThrowHelper.cs
- BamlRecordReader.cs
- MediaContext.cs
- Unit.cs
- UIElement.cs
- FontSourceCollection.cs
- AsyncResult.cs
- XmlRawWriter.cs
- DateTimePicker.cs
- TableHeaderCell.cs
- InputScopeAttribute.cs
- WindowsToolbarAsMenu.cs
- PassportIdentity.cs
- TextReader.cs