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
- TypeInfo.cs
- PrinterResolution.cs
- XmlWriter.cs
- SoundPlayerAction.cs
- XamlHostingSectionGroup.cs
- _TimerThread.cs
- CombinedGeometry.cs
- DataSourceControl.cs
- _LocalDataStore.cs
- BinHexEncoder.cs
- ColumnWidthChangedEvent.cs
- FtpCachePolicyElement.cs
- WindowsFormsSectionHandler.cs
- WindowsListViewItem.cs
- TextRangeBase.cs
- ProfileManager.cs
- DataGridViewCellMouseEventArgs.cs
- AdditionalEntityFunctions.cs
- QilXmlWriter.cs
- MetadataArtifactLoader.cs
- XmlUtil.cs
- Configuration.cs
- HwndTarget.cs
- TabRenderer.cs
- RegexBoyerMoore.cs
- Point3DCollection.cs
- SiteOfOriginContainer.cs
- ScriptingSectionGroup.cs
- SqlUnionizer.cs
- RegexNode.cs
- SqlWebEventProvider.cs
- ContactManager.cs
- CodeObject.cs
- FormatterServices.cs
- FileNotFoundException.cs
- RelationalExpressions.cs
- ArrayElementGridEntry.cs
- TreeNodeEventArgs.cs
- DocumentPage.cs
- VersionPair.cs
- EntityDataSourceColumn.cs
- ConnectionManagementElementCollection.cs
- RouteParameter.cs
- SapiRecoInterop.cs
- BitmapEffectDrawing.cs
- BindStream.cs
- Action.cs
- ContentDisposition.cs
- NavigationExpr.cs
- SpecialFolderEnumConverter.cs
- DependencyObjectPropertyDescriptor.cs
- DocumentOrderQuery.cs
- StringExpressionSet.cs
- WorkflowRuntimeBehavior.cs
- AliasGenerator.cs
- PeerResolverElement.cs
- DeadCharTextComposition.cs
- QuestionEventArgs.cs
- DataColumnChangeEvent.cs
- SpellerError.cs
- DocumentEventArgs.cs
- ChangeDirector.cs
- InternalResources.cs
- User.cs
- ValueType.cs
- LabelInfo.cs
- MtomMessageEncodingBindingElement.cs
- NGCSerializerAsync.cs
- MetaTableHelper.cs
- RuleSetReference.cs
- CompositeActivityTypeDescriptor.cs
- VisualStyleRenderer.cs
- MasterPageCodeDomTreeGenerator.cs
- ViewBase.cs
- DetailsViewUpdateEventArgs.cs
- DataGridViewColumn.cs
- SqlProcedureAttribute.cs
- RecordsAffectedEventArgs.cs
- InputProcessorProfiles.cs
- VolatileResourceManager.cs
- ListBoxChrome.cs
- ArrayTypeMismatchException.cs
- Util.cs
- TextDocumentView.cs
- Calendar.cs
- DataContractSerializerSection.cs
- CqlErrorHelper.cs
- XPSSignatureDefinition.cs
- DocumentGrid.cs
- ShimAsPublicXamlType.cs
- UserControl.cs
- WebPartUserCapability.cs
- HwndSubclass.cs
- XmlWrappingWriter.cs
- Utils.cs
- Walker.cs
- DataChangedEventManager.cs
- TargetInvocationException.cs
- EndOfStreamException.cs
- ProtectedConfiguration.cs