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
- Decoder.cs
- RequestQueue.cs
- EnumerableRowCollection.cs
- SynchronizedKeyedCollection.cs
- ObjectListField.cs
- GridEntryCollection.cs
- UserUseLicenseDictionaryLoader.cs
- LocalizationCodeDomSerializer.cs
- CustomTypeDescriptor.cs
- CompiledQueryCacheKey.cs
- SqlFacetAttribute.cs
- Vector.cs
- Attributes.cs
- ImageDrawing.cs
- DocumentScope.cs
- SecurityMessageProperty.cs
- EventsTab.cs
- IsolatedStorageException.cs
- Tuple.cs
- ColumnHeaderConverter.cs
- ISAPIWorkerRequest.cs
- BuiltInPermissionSets.cs
- HttpCacheVary.cs
- MailAddress.cs
- ViewManager.cs
- ListViewTableCell.cs
- InvalidWMPVersionException.cs
- HandlerFactoryWrapper.cs
- BaseCAMarshaler.cs
- AllMembershipCondition.cs
- _UriTypeConverter.cs
- HttpClientCertificate.cs
- UInt32.cs
- LogReservationCollection.cs
- GestureRecognitionResult.cs
- SQLByte.cs
- PlanCompiler.cs
- AvtEvent.cs
- MessageSmuggler.cs
- PrePrepareMethodAttribute.cs
- DbProviderConfigurationHandler.cs
- CheckBoxAutomationPeer.cs
- JsonStringDataContract.cs
- FtpWebRequest.cs
- ComplexTypeEmitter.cs
- Misc.cs
- XmlMemberMapping.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- AutoResizedEvent.cs
- RootBrowserWindow.cs
- GuidelineSet.cs
- dataprotectionpermissionattribute.cs
- WebPartChrome.cs
- TextSegment.cs
- QilValidationVisitor.cs
- COSERVERINFO.cs
- HttpUnhandledOperationInvoker.cs
- DiagnosticEventProvider.cs
- UIElement.cs
- IndependentAnimationStorage.cs
- ScrollItemProviderWrapper.cs
- FormattedText.cs
- SafeArrayTypeMismatchException.cs
- EntityContainerEmitter.cs
- HelpProvider.cs
- CompareInfo.cs
- CategoryAttribute.cs
- TraceContextRecord.cs
- linebase.cs
- SelectionGlyph.cs
- FocusTracker.cs
- UInt16.cs
- RefExpr.cs
- WindowsRebar.cs
- IsolatedStorageException.cs
- SerialPort.cs
- HttpDigestClientElement.cs
- Point3D.cs
- TextComposition.cs
- SlipBehavior.cs
- WorkingDirectoryEditor.cs
- CustomTypeDescriptor.cs
- ResourceDefaultValueAttribute.cs
- XmlSchemaSimpleTypeUnion.cs
- ToolboxItemAttribute.cs
- DeadLetterQueue.cs
- SessionStateUtil.cs
- PermissionToken.cs
- PerfCounters.cs
- AsyncMethodInvoker.cs
- SqlTriggerAttribute.cs
- OneOfConst.cs
- TypeLoadException.cs
- LoginCancelEventArgs.cs
- ButtonPopupAdapter.cs
- ConfigErrorGlyph.cs
- PropertyPath.cs
- SqlInfoMessageEvent.cs
- FormatSettings.cs
- _ConnectStream.cs