Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.ServiceModel.Discovery / System / ServiceModel / Discovery / Version11 / ByeOperation11AsyncResult.cs / 1305376 / ByeOperation11AsyncResult.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.ServiceModel.Discovery.Version11 { using System.Runtime; sealed class ByeOperation11AsyncResult : ByeOperationAsyncResult{ public ByeOperation11AsyncResult( IAnnouncementServiceImplementation announcementServiceImpl, ByeMessage11 message, AsyncCallback callback, object state) : base(announcementServiceImpl, message, callback, state) { } public static void End(IAsyncResult result) { AsyncResult.End (result); } protected override bool ValidateContent(ByeMessage11 message) { return (message.Bye != null); } protected override DiscoveryMessageSequence GetMessageSequence(ByeMessage11 message) { return DiscoveryUtility.ToDiscoveryMessageSequenceOrNull(message.MessageSequence); } protected override EndpointDiscoveryMetadata GetEndpointDiscoveryMetadata(ByeMessage11 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
- ThreadExceptionEvent.cs
- ComNativeDescriptor.cs
- NameTable.cs
- HelpOperationInvoker.cs
- DataGridViewDesigner.cs
- InvokeProviderWrapper.cs
- WindowsGraphics2.cs
- TextServicesCompartmentEventSink.cs
- CodeDelegateInvokeExpression.cs
- ServiceHostingEnvironmentSection.cs
- BufferedWebEventProvider.cs
- CopyAttributesAction.cs
- HostingPreferredMapPath.cs
- ConstraintCollection.cs
- UnSafeCharBuffer.cs
- PageTheme.cs
- GetCertificateRequest.cs
- HtmlTableCellCollection.cs
- SelectorItemAutomationPeer.cs
- PrivateFontCollection.cs
- MonthChangedEventArgs.cs
- activationcontext.cs
- MetadataPropertyAttribute.cs
- ApplicationGesture.cs
- validation.cs
- EngineSite.cs
- StateWorkerRequest.cs
- Point3DCollectionConverter.cs
- DataListItem.cs
- VisualBasicSettingsHandler.cs
- ScriptingProfileServiceSection.cs
- MatchAttribute.cs
- ChannelServices.cs
- LambdaCompiler.Lambda.cs
- FontStyleConverter.cs
- GridViewCancelEditEventArgs.cs
- XmlSchemaImporter.cs
- Visual.cs
- SecureConversationVersion.cs
- ThousandthOfEmRealDoubles.cs
- PermissionSetEnumerator.cs
- ObfuscationAttribute.cs
- CustomAttributeBuilder.cs
- JapaneseCalendar.cs
- SmtpTransport.cs
- EventProviderWriter.cs
- IIS7UserPrincipal.cs
- HttpChannelBindingToken.cs
- TypeAccessException.cs
- NameTable.cs
- Operator.cs
- EmbeddedObject.cs
- PEFileReader.cs
- ListBoxAutomationPeer.cs
- SystemIPAddressInformation.cs
- ElementProxy.cs
- Pick.cs
- PropertyGridEditorPart.cs
- ProjectionPlanCompiler.cs
- IPGlobalProperties.cs
- DrawingContextDrawingContextWalker.cs
- BinaryMessageFormatter.cs
- SrgsElement.cs
- PageContentCollection.cs
- ColorMatrix.cs
- PageCopyCount.cs
- RecognizedWordUnit.cs
- JournalEntryStack.cs
- ProgramPublisher.cs
- GuidConverter.cs
- DuplexChannel.cs
- ContentElementAutomationPeer.cs
- ConfigurationStrings.cs
- NavigationWindow.cs
- UserNameSecurityToken.cs
- SmiEventSink_DeferedProcessing.cs
- ColorMap.cs
- PrinterResolution.cs
- LineGeometry.cs
- RequestBringIntoViewEventArgs.cs
- securestring.cs
- XmlSiteMapProvider.cs
- WizardDesigner.cs
- PersonalizationProvider.cs
- AnnotationAuthorChangedEventArgs.cs
- PopOutPanel.cs
- FormViewUpdatedEventArgs.cs
- HandlerWithFactory.cs
- TraceData.cs
- PowerModeChangedEventArgs.cs
- NativeMethods.cs
- OrderByBuilder.cs
- XamlTypeMapperSchemaContext.cs
- IProducerConsumerCollection.cs
- ExceptionUtil.cs
- LinqDataSourceDeleteEventArgs.cs
- AppDomainEvidenceFactory.cs
- EntityViewGenerationAttribute.cs
- NamespaceCollection.cs
- GZipDecoder.cs