Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / PeerResolvers / RegisterInfo.cs / 1 / RegisterInfo.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.PeerResolvers { using System.ServiceModel.Channels; using System.ServiceModel; using System.Runtime.Serialization; [MessageContract(IsWrapped = false)] public class RegisterInfo { [DataContract(Name = "Register", Namespace = PeerStrings.Namespace)] class RegisterInfoDC { [DataMember(Name = "ClientId")] public Guid ClientId; [DataMember(Name = "MeshId")] public string MeshId; [DataMember(Name = "NodeAddress")] public PeerNodeAddress NodeAddress; // public TimeSpan RegistrationLifeTime; public RegisterInfoDC(){} public RegisterInfoDC(Guid client, string meshId, PeerNodeAddress address) { this.ClientId = client; this.MeshId = meshId; this.NodeAddress = address; } } public RegisterInfo(Guid client, string meshId, PeerNodeAddress address) { body = new RegisterInfoDC(client, meshId, address); } public RegisterInfo(){body = new RegisterInfoDC();} [MessageBodyMember(Name = "Register", Namespace = PeerStrings.Namespace)] RegisterInfoDC body; public Guid ClientId { get { return this.body.ClientId; } } public string MeshId { get { return this.body.MeshId; } } public PeerNodeAddress NodeAddress { get { return this.body.NodeAddress; } } public bool HasBody() { return body != null; } } } // 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
- MobileUITypeEditor.cs
- MailAddressCollection.cs
- AssociationSet.cs
- Monitor.cs
- XmlExceptionHelper.cs
- ModelItemDictionary.cs
- Context.cs
- HMACMD5.cs
- DeviceSpecific.cs
- SplitContainer.cs
- ComplexBindingPropertiesAttribute.cs
- smtpconnection.cs
- Encoding.cs
- WebPartConnectionsCloseVerb.cs
- WindowClosedEventArgs.cs
- SizeLimitedCache.cs
- OpenTypeCommon.cs
- PropertyIDSet.cs
- FileSystemEventArgs.cs
- XamlTypeMapper.cs
- EventLogPermissionAttribute.cs
- WebResourceUtil.cs
- ReadWriteSpinLock.cs
- NavigationCommands.cs
- ProcessInputEventArgs.cs
- LocalizabilityAttribute.cs
- TableDetailsRow.cs
- WindowsGraphicsCacheManager.cs
- UnmanagedMarshal.cs
- SevenBitStream.cs
- HScrollProperties.cs
- CheckBoxField.cs
- SiteMapNodeItemEventArgs.cs
- BooleanExpr.cs
- XmlSchemaAttribute.cs
- ImportContext.cs
- DrawingGroup.cs
- ArithmeticException.cs
- RuntimeConfig.cs
- _SingleItemRequestCache.cs
- SqlClientMetaDataCollectionNames.cs
- DataServiceEntityAttribute.cs
- ToolStripScrollButton.cs
- TextSelectionHighlightLayer.cs
- XmlSchemaSimpleContentRestriction.cs
- ExceptionRoutedEventArgs.cs
- ScrollItemPattern.cs
- IDispatchConstantAttribute.cs
- UIElement3DAutomationPeer.cs
- GridLength.cs
- EventQueueState.cs
- DictionaryEditChange.cs
- PasswordDeriveBytes.cs
- BackgroundWorker.cs
- UInt64Converter.cs
- DecimalAnimation.cs
- GroupBoxAutomationPeer.cs
- BaseProcessor.cs
- SymLanguageVendor.cs
- BinaryMethodMessage.cs
- EventEntry.cs
- Emitter.cs
- Metadata.cs
- SerTrace.cs
- LabelLiteral.cs
- DbConnectionPoolGroup.cs
- QilLiteral.cs
- EntityProviderServices.cs
- X509CertificateClaimSet.cs
- MasterPageCodeDomTreeGenerator.cs
- PeerNodeTraceRecord.cs
- WebPartEditVerb.cs
- TextBoxBase.cs
- DBSqlParserColumn.cs
- RegexGroup.cs
- EventSetter.cs
- SQLSingleStorage.cs
- Color.cs
- FontNamesConverter.cs
- XmlQueryTypeFactory.cs
- PriorityChain.cs
- DataGridViewColumnEventArgs.cs
- FormsAuthenticationCredentials.cs
- RuntimeEnvironment.cs
- DefaultValueConverter.cs
- IndexOutOfRangeException.cs
- HttpStaticObjectsCollectionWrapper.cs
- DataColumnChangeEvent.cs
- ISFClipboardData.cs
- IndentTextWriter.cs
- EncryptedPackage.cs
- BaseAsyncResult.cs
- HtmlInputPassword.cs
- XmlILCommand.cs
- StringWriter.cs
- ValidationEventArgs.cs
- ExtensionSurface.cs
- DesignerDataConnection.cs
- EmissiveMaterial.cs
- DockAndAnchorLayout.cs