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
- UIntPtr.cs
- ProfileGroupSettingsCollection.cs
- SpStreamWrapper.cs
- MinMaxParagraphWidth.cs
- Resources.Designer.cs
- TextContainerHelper.cs
- WebConfigManager.cs
- ProxyManager.cs
- ChtmlTextBoxAdapter.cs
- OperatingSystem.cs
- TargetInvocationException.cs
- IIS7WorkerRequest.cs
- ExpressionPrinter.cs
- AddInStore.cs
- QueryContinueDragEvent.cs
- Native.cs
- Delegate.cs
- BaseCAMarshaler.cs
- SingleKeyFrameCollection.cs
- ProxyRpc.cs
- TimerEventSubscriptionCollection.cs
- OrthographicCamera.cs
- DataGridViewCellConverter.cs
- XmlnsCompatibleWithAttribute.cs
- SystemSounds.cs
- ByteAnimationBase.cs
- URLEditor.cs
- Quaternion.cs
- DataObjectFieldAttribute.cs
- DataServiceBehavior.cs
- ConsumerConnectionPointCollection.cs
- Bitmap.cs
- ParenExpr.cs
- SoapObjectReader.cs
- WebBrowser.cs
- InputLanguageProfileNotifySink.cs
- EqualityArray.cs
- CategoryGridEntry.cs
- MetadataArtifactLoaderResource.cs
- AssemblyBuilderData.cs
- AppDomainManager.cs
- Interfaces.cs
- Roles.cs
- DiscoveryClientChannelFactory.cs
- _AutoWebProxyScriptWrapper.cs
- FolderNameEditor.cs
- TypeBuilderInstantiation.cs
- XmlDataSource.cs
- GeometryCollection.cs
- TextReader.cs
- ObjectManager.cs
- PartialCachingControl.cs
- Crc32.cs
- BoundField.cs
- ColorAnimationBase.cs
- GenericIdentity.cs
- RoleServiceManager.cs
- WebServiceResponse.cs
- XmlComplianceUtil.cs
- InputMethod.cs
- QuestionEventArgs.cs
- ExpressionBindings.cs
- DetailsViewUpdateEventArgs.cs
- View.cs
- SourceChangedEventArgs.cs
- SqlDataSourceCache.cs
- TransformProviderWrapper.cs
- OverflowException.cs
- IdentitySection.cs
- input.cs
- Util.cs
- SqlDataSourceView.cs
- HttpHandlersSection.cs
- ColumnHeader.cs
- SqlVersion.cs
- SqlPersonalizationProvider.cs
- InfiniteIntConverter.cs
- EdmComplexPropertyAttribute.cs
- DesignerHelpers.cs
- XmlDocumentType.cs
- XhtmlTextWriter.cs
- DPAPIProtectedConfigurationProvider.cs
- EndGetFileNameFromUserRequest.cs
- PersonalizationState.cs
- GridEntryCollection.cs
- DataRowIndexBuffer.cs
- XmlChoiceIdentifierAttribute.cs
- DbModificationCommandTree.cs
- ElementsClipboardData.cs
- SoapAttributes.cs
- SnapshotChangeTrackingStrategy.cs
- OutputCacheProfile.cs
- DataServicePagingProviderWrapper.cs
- NavigateUrlConverter.cs
- TrackBar.cs
- Object.cs
- ExtenderProvidedPropertyAttribute.cs
- MetadataPropertyvalue.cs
- ValidateNames.cs
- OletxTransactionManager.cs