Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / infocard / Service / managed / Microsoft / InfoCards / UIEndRequest.cs / 1 / UIEndRequest.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace Microsoft.InfoCards { using System; using System.Collections.Generic; using System.Diagnostics; using System.Security; //SecurityException using IDT = Microsoft.InfoCards.Diagnostics.InfoCardTrace; using System.Security.Principal; //WindowsIdentity using Microsoft.Win32.SafeHandles; //SafeWaitHandle using System.IO; //Stream using System.Text; internal class UIEndRequest : UIAgentRequest { ClientUIRequest.RequestResult m_result; public UIEndRequest( IntPtr rpcHandle, Stream inArgs, Stream outArgs, ClientUIRequest parent ) : base( rpcHandle, inArgs, outArgs, parent ) { } protected override void OnMarshalInArgs() { BinaryReader breader = new InfoCardBinaryReader( InArgs, Encoding.Unicode ); m_result = (ClientUIRequest.RequestResult) breader.ReadInt32(); } protected override void OnProcess() { // // Tell the UI Agent what the results of the UI // were. It will in turn notify the active request // of the action so that it may cancel any pending IO. // base.UIAgent.SetUIStatus( m_result ); } protected override void OnMarshalOutArgs() { } // // No OnHandleExceptions -- we do not expect any exceptions to be thrown // } } // 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
- XmlNavigatorStack.cs
- XmlSchemas.cs
- XmlKeywords.cs
- LinkTarget.cs
- Semaphore.cs
- CodeFieldReferenceExpression.cs
- BStrWrapper.cs
- AppearanceEditorPart.cs
- SafeThemeHandle.cs
- MarshalByRefObject.cs
- MasterPageCodeDomTreeGenerator.cs
- MarkupExtensionParser.cs
- ListItemCollection.cs
- TempEnvironment.cs
- XhtmlMobileTextWriter.cs
- DataBindingCollectionConverter.cs
- WebResourceUtil.cs
- COM2PictureConverter.cs
- GridItemCollection.cs
- SQLSingleStorage.cs
- MethodBody.cs
- AutomationEvent.cs
- SqlXmlStorage.cs
- DbConnectionPoolGroup.cs
- ListBox.cs
- Directory.cs
- PixelFormat.cs
- ServerValidateEventArgs.cs
- TypeExtensionConverter.cs
- ServiceModelConfigurationSectionGroup.cs
- WorkItem.cs
- ListDictionaryInternal.cs
- ListViewGroupItemCollection.cs
- DetailsView.cs
- PackageRelationship.cs
- Span.cs
- HtmlInputControl.cs
- VirtualDirectoryMapping.cs
- JournalEntryListConverter.cs
- RequestSecurityTokenResponseCollection.cs
- BamlBinaryReader.cs
- ClientConfigPaths.cs
- SqlRemoveConstantOrderBy.cs
- EmptyStringExpandableObjectConverter.cs
- NamedPipeTransportSecurity.cs
- CrossContextChannel.cs
- RectangleHotSpot.cs
- CodeDelegateCreateExpression.cs
- HtmlInputImage.cs
- WorkflowViewService.cs
- PageSettings.cs
- Object.cs
- ArrayTypeMismatchException.cs
- OptimalBreakSession.cs
- tooltip.cs
- DefaultWorkflowLoaderService.cs
- LockedActivityGlyph.cs
- GridViewColumnHeader.cs
- BindingsCollection.cs
- sitestring.cs
- Run.cs
- SerializableAttribute.cs
- PinnedBufferMemoryStream.cs
- HwndTarget.cs
- ToolStripSplitButton.cs
- UnsafeMethods.cs
- bidPrivateBase.cs
- GeometryCombineModeValidation.cs
- ServicePoint.cs
- Binding.cs
- ModuleElement.cs
- EditorBrowsableAttribute.cs
- XhtmlBasicLabelAdapter.cs
- ThreadExceptionEvent.cs
- Rotation3DAnimation.cs
- XPathParser.cs
- ProviderUtil.cs
- CaseStatement.cs
- WindowsTab.cs
- LinearGradientBrush.cs
- TrackingProfile.cs
- DataRow.cs
- ListCollectionView.cs
- UnsafeNativeMethods.cs
- GrowingArray.cs
- DbParameterHelper.cs
- SqlPersonalizationProvider.cs
- _RegBlobWebProxyDataBuilder.cs
- ToolStripContentPanel.cs
- HttpListenerPrefixCollection.cs
- HttpGetProtocolReflector.cs
- loginstatus.cs
- CustomErrorCollection.cs
- ConfigurationElement.cs
- MappedMetaModel.cs
- ShaderEffect.cs
- BindValidator.cs
- SapiGrammar.cs
- MaskedTextBox.cs
- FormClosingEvent.cs