Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.ServiceModel.Discovery / System / ServiceModel / Discovery / VersionCD1 / ByeOperationCD1AsyncResult.cs / 1305376 / ByeOperationCD1AsyncResult.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.ServiceModel.Discovery.VersionCD1 { using System.Runtime; sealed class ByeOperationCD1AsyncResult : ByeOperationAsyncResult{ public ByeOperationCD1AsyncResult( IAnnouncementServiceImplementation announcementServiceImpl, ByeMessageCD1 message, AsyncCallback callback, object state) : base(announcementServiceImpl, message, callback, state) { } public static void End(IAsyncResult result) { AsyncResult.End (result); } protected override bool ValidateContent(ByeMessageCD1 message) { return (message.Bye != null); } protected override DiscoveryMessageSequence GetMessageSequence(ByeMessageCD1 message) { return DiscoveryUtility.ToDiscoveryMessageSequenceOrNull(message.MessageSequence); } protected override EndpointDiscoveryMetadata GetEndpointDiscoveryMetadata(ByeMessageCD1 message) { return message.Bye.ToEndpointDiscoveryMetadata(); } } } // 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
- compensatingcollection.cs
- Hex.cs
- Registry.cs
- CredentialCache.cs
- SubpageParagraph.cs
- RoutedUICommand.cs
- NavigationProgressEventArgs.cs
- Action.cs
- BmpBitmapEncoder.cs
- DefaultHttpHandler.cs
- EncryptedPackage.cs
- SynchronizedInputAdaptor.cs
- TreeViewItemAutomationPeer.cs
- NestedContainer.cs
- PropertyGridEditorPart.cs
- TreeIterators.cs
- XslTransform.cs
- UIElement.cs
- DESCryptoServiceProvider.cs
- ExpandCollapseProviderWrapper.cs
- ResXResourceWriter.cs
- InvokeGenerator.cs
- EntityTypeBase.cs
- BaseTemplateCodeDomTreeGenerator.cs
- GcSettings.cs
- Screen.cs
- DocumentPageViewAutomationPeer.cs
- CodeNamespace.cs
- SessionStateUtil.cs
- PixelFormats.cs
- Transform3D.cs
- EncryptedKey.cs
- PeerName.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- dsa.cs
- EventSetter.cs
- CodeDelegateCreateExpression.cs
- Brush.cs
- DuplicateContext.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- DefaultEventAttribute.cs
- DbConnectionPoolIdentity.cs
- ApplicationBuildProvider.cs
- PasswordRecovery.cs
- InfiniteTimeSpanConverter.cs
- ServiceNameCollection.cs
- PeerNearMe.cs
- webproxy.cs
- SqlMethodCallConverter.cs
- HtmlShim.cs
- CodeGroup.cs
- DiscreteKeyFrames.cs
- GetCardDetailsRequest.cs
- ResourceKey.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- DataServiceRequestOfT.cs
- DSASignatureFormatter.cs
- ParameterCollection.cs
- ILGenerator.cs
- ForwardPositionQuery.cs
- EasingFunctionBase.cs
- Int64AnimationUsingKeyFrames.cs
- MetadataArtifactLoaderComposite.cs
- HandlerWithFactory.cs
- WebPartEditorCancelVerb.cs
- ReferentialConstraint.cs
- ToolboxDataAttribute.cs
- UriWriter.cs
- ReturnType.cs
- BookmarkWorkItem.cs
- ConfigXmlSignificantWhitespace.cs
- InvokeHandlers.cs
- DecimalConverter.cs
- AuthenticationService.cs
- WindowsRebar.cs
- SmtpAuthenticationManager.cs
- XmlReaderDelegator.cs
- VirtualPathProvider.cs
- mediapermission.cs
- EventToken.cs
- HierarchicalDataTemplate.cs
- ListDictionaryInternal.cs
- SessionEndedEventArgs.cs
- PngBitmapDecoder.cs
- CapabilitiesSection.cs
- LeaseManager.cs
- AccessDataSourceView.cs
- XmlHierarchicalEnumerable.cs
- RoutedEventValueSerializer.cs
- DocumentOrderComparer.cs
- Wizard.cs
- DesignBindingEditor.cs
- InternalConfigHost.cs
- ClientApiGenerator.cs
- TailPinnedEventArgs.cs
- SchemaType.cs
- HijriCalendar.cs
- LogStore.cs
- Registry.cs