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
- LockedAssemblyCache.cs
- GridProviderWrapper.cs
- AlphaSortedEnumConverter.cs
- GifBitmapDecoder.cs
- SchemaConstraints.cs
- Process.cs
- BaseTemplateCodeDomTreeGenerator.cs
- HttpException.cs
- TreeBuilder.cs
- DesignerView.Commands.cs
- Events.cs
- AutoResetEvent.cs
- WebPartEventArgs.cs
- DrawingVisual.cs
- Thread.cs
- ShapingEngine.cs
- CompareInfo.cs
- ValueType.cs
- ToolboxItemImageConverter.cs
- TreeViewCancelEvent.cs
- FontWeightConverter.cs
- ScrollBarRenderer.cs
- SerializationUtilities.cs
- QueryExpr.cs
- ConfigurationStrings.cs
- GenericXmlSecurityToken.cs
- DeferredTextReference.cs
- RegexInterpreter.cs
- TextEditorTyping.cs
- RangeEnumerable.cs
- TaskResultSetter.cs
- XPathDocumentNavigator.cs
- AggregateNode.cs
- PropertyDescriptor.cs
- ObjectSelectorEditor.cs
- NamespaceListProperty.cs
- GeometryValueSerializer.cs
- StringReader.cs
- AbstractExpressions.cs
- SmiRequestExecutor.cs
- MatrixKeyFrameCollection.cs
- MethodImplAttribute.cs
- CaseInsensitiveHashCodeProvider.cs
- SizeFConverter.cs
- Knowncolors.cs
- QueryReaderSettings.cs
- ExceptionUtil.cs
- ArrangedElement.cs
- AppSecurityManager.cs
- HtmlMobileTextWriter.cs
- COAUTHINFO.cs
- AvTraceFormat.cs
- KoreanCalendar.cs
- XmlValidatingReaderImpl.cs
- Point.cs
- Clipboard.cs
- SerializationStore.cs
- HtmlTitle.cs
- UnmanagedMemoryAccessor.cs
- PersonalizationAdministration.cs
- DelimitedListTraceListener.cs
- HostProtectionPermission.cs
- DataGridParentRows.cs
- WizardStepCollectionEditor.cs
- SafeNativeMethods.cs
- HorizontalAlignConverter.cs
- ObjectDataSourceFilteringEventArgs.cs
- ToolStripPanelDesigner.cs
- LayoutEngine.cs
- QuadraticBezierSegment.cs
- TypeUtil.cs
- WebPartTransformerAttribute.cs
- MasterPageParser.cs
- NestPullup.cs
- RepeatInfo.cs
- MailBnfHelper.cs
- SecurityKeyIdentifier.cs
- BatchStream.cs
- InitiatorSessionSymmetricTransportSecurityProtocol.cs
- TemplateColumn.cs
- safelink.cs
- SecurityResources.cs
- SQLInt32.cs
- DataPagerCommandEventArgs.cs
- HtmlInputReset.cs
- SineEase.cs
- X509ThumbprintKeyIdentifierClause.cs
- SiteMapPath.cs
- ButtonChrome.cs
- ColorConvertedBitmap.cs
- PropertyReferenceSerializer.cs
- TextContainerHelper.cs
- HtmlButton.cs
- Parameter.cs
- TransactionTable.cs
- AbstractExpressions.cs
- VirtualPathProvider.cs
- SqlMethodCallConverter.cs
- BmpBitmapEncoder.cs
- XmlSchemaSubstitutionGroup.cs