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
- GridEntry.cs
- UIPermission.cs
- SequentialOutput.cs
- BoolLiteral.cs
- MulticastNotSupportedException.cs
- ExpressionEditorAttribute.cs
- TreeNodeStyleCollection.cs
- Token.cs
- DataStorage.cs
- ProviderUtil.cs
- CustomAttributeSerializer.cs
- ResourcePermissionBase.cs
- WindowsAltTab.cs
- QueryMatcher.cs
- QuaternionAnimationBase.cs
- ApplicationBuildProvider.cs
- relpropertyhelper.cs
- CompatibleComparer.cs
- PersonalizationProviderHelper.cs
- ResponseBodyWriter.cs
- CatalogZoneBase.cs
- ByteArrayHelperWithString.cs
- XPathNodeList.cs
- CodeGenerator.cs
- PasswordTextNavigator.cs
- FilterException.cs
- ListView.cs
- InstanceKeyCollisionException.cs
- PieceNameHelper.cs
- TimersDescriptionAttribute.cs
- GlyphsSerializer.cs
- OrderByQueryOptionExpression.cs
- DesignerSerializationVisibilityAttribute.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- VisualTarget.cs
- DuplicateWaitObjectException.cs
- DeflateEmulationStream.cs
- AuthenticationException.cs
- ResXResourceWriter.cs
- MatrixCamera.cs
- ResolveNameEventArgs.cs
- DrawingContextWalker.cs
- DataBoundControlDesigner.cs
- TextSimpleMarkerProperties.cs
- LambdaCompiler.Unary.cs
- FrameworkTextComposition.cs
- TabControl.cs
- StringComparer.cs
- ZeroOpNode.cs
- LayoutTable.cs
- PlatformNotSupportedException.cs
- PassportAuthentication.cs
- ProxySimple.cs
- XmlDomTextWriter.cs
- RepeatButtonAutomationPeer.cs
- Pointer.cs
- AdvancedBindingEditor.cs
- InvariantComparer.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ListMarkerLine.cs
- CompModSwitches.cs
- SqlCachedBuffer.cs
- EntityDataSourceUtil.cs
- SqlBulkCopyColumnMappingCollection.cs
- FixedTextView.cs
- MaxMessageSizeStream.cs
- MultiBinding.cs
- TextRange.cs
- AmbientLight.cs
- SqlCaseSimplifier.cs
- DbConnectionPoolCounters.cs
- XmlReflectionMember.cs
- CqlParser.cs
- TextParagraphProperties.cs
- UndoManager.cs
- XmlNamespaceMappingCollection.cs
- BlockExpression.cs
- SchemaImporter.cs
- CryptoApi.cs
- _TLSstream.cs
- SqlConnectionString.cs
- StatusBarDrawItemEvent.cs
- KeyValueConfigurationElement.cs
- SliderAutomationPeer.cs
- InvalidComObjectException.cs
- DelegatingConfigHost.cs
- EventLogException.cs
- FeatureSupport.cs
- OleDbError.cs
- ToolStripItemEventArgs.cs
- DataGridViewRowConverter.cs
- DataRecord.cs
- basecomparevalidator.cs
- HttpPostProtocolImporter.cs
- OdbcConnectionOpen.cs
- HtmlEmptyTagControlBuilder.cs
- UserNameServiceElement.cs
- SplayTreeNode.cs
- TransformerInfoCollection.cs
- UIntPtr.cs