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
- MenuRendererStandards.cs
- Label.cs
- QueryStringConverter.cs
- DependencyObjectPropertyDescriptor.cs
- InvokeMemberBinder.cs
- SafeEventLogWriteHandle.cs
- AdornerPresentationContext.cs
- NamedPipeConnectionPoolSettings.cs
- StorageFunctionMapping.cs
- NestPullup.cs
- StatusBarItemAutomationPeer.cs
- AutomationPatternInfo.cs
- WebPartEditorCancelVerb.cs
- AddInAdapter.cs
- BindStream.cs
- NamespaceDecl.cs
- SqlCacheDependencyDatabase.cs
- _TLSstream.cs
- MessageDesigner.cs
- DiscoveryClient.cs
- State.cs
- ISFTagAndGuidCache.cs
- counter.cs
- DynamicValidator.cs
- BamlTreeUpdater.cs
- FileNotFoundException.cs
- Select.cs
- SqlComparer.cs
- PerformanceCounterPermissionEntry.cs
- HelloMessageCD1.cs
- ArrayTypeMismatchException.cs
- ItemAutomationPeer.cs
- OleDbConnectionFactory.cs
- CheckBox.cs
- ClientConfigPaths.cs
- DbModificationClause.cs
- StorageFunctionMapping.cs
- InternalResources.cs
- IPAddressCollection.cs
- PostBackTrigger.cs
- OracleMonthSpan.cs
- TiffBitmapDecoder.cs
- BindingCompleteEventArgs.cs
- AspNetSynchronizationContext.cs
- WebPageTraceListener.cs
- SqlOuterApplyReducer.cs
- SQlBooleanStorage.cs
- MetadataSource.cs
- ErrorProvider.cs
- PreservationFileReader.cs
- XamlReaderConstants.cs
- SchemaDeclBase.cs
- WebColorConverter.cs
- WebPageTraceListener.cs
- IERequestCache.cs
- Module.cs
- ReadWriteSpinLock.cs
- XMLUtil.cs
- DocumentPaginator.cs
- IsolatedStorageFileStream.cs
- ObjectStateEntry.cs
- SSmlParser.cs
- VirtualizedContainerService.cs
- NetworkCredential.cs
- EdmScalarPropertyAttribute.cs
- XmlObjectSerializerReadContextComplexJson.cs
- xml.cs
- _UriSyntax.cs
- PersistChildrenAttribute.cs
- KeyProperty.cs
- XdrBuilder.cs
- DataKey.cs
- TextBoxLine.cs
- SortDescription.cs
- CodeVariableReferenceExpression.cs
- WebResourceUtil.cs
- AutoGeneratedFieldProperties.cs
- PriorityBindingExpression.cs
- MetaColumn.cs
- DrawToolTipEventArgs.cs
- DataGridViewImageCell.cs
- SqlBulkCopyColumnMapping.cs
- FrameAutomationPeer.cs
- XsltContext.cs
- GridView.cs
- TextDecoration.cs
- EventSinkHelperWriter.cs
- CodeLabeledStatement.cs
- DataGridViewRowHeaderCell.cs
- ScriptControlManager.cs
- TokenBasedSetEnumerator.cs
- ModulesEntry.cs
- AlphabeticalEnumConverter.cs
- SmtpNegotiateAuthenticationModule.cs
- LocalizableAttribute.cs
- HtmlInputPassword.cs
- AuthorizationRuleCollection.cs
- PerformanceCounterPermission.cs
- CustomErrorCollection.cs
- Msec.cs