Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / SystemNet / Net / PeerToPeer / Collaboration / PeerPresenceInfo.cs / 1 / PeerPresenceInfo.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Net.PeerToPeer.Collaboration
{
using System;
///
/// Encapsulates the presence information for a collab peer
///
public class PeerPresenceInfo
{
private PeerPresenceStatus m_peerPresenceStatus;
private string m_descriptiveText;
public PeerPresenceInfo() {}
public PeerPresenceInfo(PeerPresenceStatus presenceStatus, string description) {
m_peerPresenceStatus = presenceStatus;
m_descriptiveText = description;
}
public PeerPresenceStatus PresenceStatus
{
get{
return m_peerPresenceStatus;
}
set
{
m_peerPresenceStatus = value;
}
}
public string DescriptiveText
{
get{
return m_descriptiveText;
}
set
{
m_descriptiveText = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Net.PeerToPeer.Collaboration
{
using System;
///
/// Encapsulates the presence information for a collab peer
///
public class PeerPresenceInfo
{
private PeerPresenceStatus m_peerPresenceStatus;
private string m_descriptiveText;
public PeerPresenceInfo() {}
public PeerPresenceInfo(PeerPresenceStatus presenceStatus, string description) {
m_peerPresenceStatus = presenceStatus;
m_descriptiveText = description;
}
public PeerPresenceStatus PresenceStatus
{
get{
return m_peerPresenceStatus;
}
set
{
m_peerPresenceStatus = value;
}
}
public string DescriptiveText
{
get{
return m_descriptiveText;
}
set
{
m_descriptiveText = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AcceleratedTokenProvider.cs
- DataGridCellItemAutomationPeer.cs
- FormViewUpdateEventArgs.cs
- RemotingException.cs
- DiagnosticTraceSource.cs
- WinFormsComponentEditor.cs
- RowUpdatingEventArgs.cs
- QueueProcessor.cs
- HttpDictionary.cs
- OuterGlowBitmapEffect.cs
- TransformGroup.cs
- EditorZone.cs
- Size3DValueSerializer.cs
- Section.cs
- HandoffBehavior.cs
- ConfigurationManagerHelper.cs
- ExternalException.cs
- XDRSchema.cs
- TrustManagerMoreInformation.cs
- ProxyRpc.cs
- TemplateInstanceAttribute.cs
- AutomationIdentifierGuids.cs
- DataSourceSelectArguments.cs
- LineBreak.cs
- WebEvents.cs
- XmlSchemaImporter.cs
- RNGCryptoServiceProvider.cs
- StandardToolWindows.cs
- CmsInterop.cs
- SimpleApplicationHost.cs
- SafeNativeMethods.cs
- LayoutTableCell.cs
- SelectionPatternIdentifiers.cs
- X509Certificate.cs
- TeredoHelper.cs
- SettingsPropertyWrongTypeException.cs
- SmiSettersStream.cs
- base64Transforms.cs
- UserControl.cs
- LogExtentCollection.cs
- BaseCollection.cs
- DerivedKeySecurityToken.cs
- WebBrowserNavigatingEventHandler.cs
- ClonableStack.cs
- DataSvcMapFileSerializer.cs
- FileChangesMonitor.cs
- LocalizableAttribute.cs
- TargetException.cs
- UIElementHelper.cs
- EdmEntityTypeAttribute.cs
- Int16KeyFrameCollection.cs
- EmptyStringExpandableObjectConverter.cs
- TextContainerChangedEventArgs.cs
- ValidationHelper.cs
- AspCompat.cs
- ObjectItemNoOpAssemblyLoader.cs
- CalendarBlackoutDatesCollection.cs
- SetterBase.cs
- ReadOnlyAttribute.cs
- QuaternionKeyFrameCollection.cs
- AuthenticationSection.cs
- XmlTypeMapping.cs
- ProcessStartInfo.cs
- BitmapEffectGroup.cs
- ApplyImportsAction.cs
- xml.cs
- ACL.cs
- DataGridViewComboBoxEditingControl.cs
- AssociativeAggregationOperator.cs
- GeneralTransform3DGroup.cs
- XsltCompileContext.cs
- GeneralTransform3DGroup.cs
- UnsafeNativeMethods.cs
- Win32SafeHandles.cs
- ColumnReorderedEventArgs.cs
- _TransmitFileOverlappedAsyncResult.cs
- Label.cs
- InheritablePropertyChangeInfo.cs
- WorkflowPersistenceService.cs
- ListViewAutomationPeer.cs
- XmlSchemaElement.cs
- ReachVisualSerializerAsync.cs
- Trustee.cs
- ISO2022Encoding.cs
- ServiceOperation.cs
- InlineUIContainer.cs
- PriorityRange.cs
- BitmapEffectGeneralTransform.cs
- EasingKeyFrames.cs
- PersistStreamTypeWrapper.cs
- WebPartCatalogCloseVerb.cs
- OdbcHandle.cs
- BackgroundFormatInfo.cs
- CommunicationObjectAbortedException.cs
- DataFormats.cs
- AncillaryOps.cs
- PerspectiveCamera.cs
- RelationshipEnd.cs
- RolePrincipal.cs
- NumericUpDown.cs