Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / infocard / Service / managed / Microsoft / InfoCards / ManageRequest.cs / 1 / ManageRequest.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace Microsoft.InfoCards { using System; using System.Collections; using System.Diagnostics; using System.Threading; //ManualResetEvent using System.ComponentModel; //Win32Exception using System.IO; //Stream using System.Text; using IDT = Microsoft.InfoCards.Diagnostics.InfoCardTrace; using System.Security.Principal; class ManageRequest : ClientUIRequest { public ManageRequest( Process callingProcess, WindowsIdentity callingIdentity, InfoCardUIAgent uiAgent, IntPtr rpcHandle, Stream inArgs, Stream outArgs ) : base( callingProcess, callingIdentity, uiAgent, rpcHandle, inArgs, outArgs,InfoCardUIAgent.CallMode.Manage, ExceptionList.AllNonFatal ) { if( 0 != inArgs.Length ) { throw IDT.ThrowHelperError( new CommunicationException( SR.GetString( SR.ServiceRequestBufferLengthInvalid ) ) ); } } // // No input args // protected override void OnMarshalInArgs() { } protected override void OnProcess() { try { // ClientUiRequest's member function StartAndWaitForUIAgent(); } catch( UserCancelledException ) { // // Consume any user cancelled exceptions in manage mode. // These can occur if the agent recieves a WM_CLOSE before // it knows that it is in manage mode. // } } // // No Output args. // protected override void OnMarshalOutArgs() { } } } // 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
- PrintPreviewGraphics.cs
- WebServicesInteroperability.cs
- ToolBarPanel.cs
- RepeaterItemEventArgs.cs
- XPathDescendantIterator.cs
- DateTimeConstantAttribute.cs
- DbMetaDataColumnNames.cs
- StackOverflowException.cs
- DataTableMappingCollection.cs
- DataBinder.cs
- DataControlImageButton.cs
- DeviceContexts.cs
- versioninfo.cs
- Attributes.cs
- DoubleLinkListEnumerator.cs
- Operator.cs
- _FixedSizeReader.cs
- ContainerVisual.cs
- RuleConditionDialog.Designer.cs
- ManifestResourceInfo.cs
- WindowsScrollBar.cs
- TextTreeText.cs
- WebControl.cs
- WebPartsPersonalization.cs
- PlatformCulture.cs
- Accessible.cs
- Nodes.cs
- XmlDictionaryReaderQuotasElement.cs
- Matrix3DValueSerializer.cs
- AuthenticationModuleElementCollection.cs
- Line.cs
- OperationAbortedException.cs
- SamlAuthorizationDecisionClaimResource.cs
- ReadOnlyDataSource.cs
- processwaithandle.cs
- Zone.cs
- BindToObject.cs
- DynamicActionMessageFilter.cs
- DrawingVisual.cs
- DataGridViewTextBoxColumn.cs
- HttpContextWrapper.cs
- NetDataContractSerializer.cs
- MultiAsyncResult.cs
- SpeakProgressEventArgs.cs
- HttpListenerPrefixCollection.cs
- HttpResponseInternalWrapper.cs
- WindowAutomationPeer.cs
- AccessorTable.cs
- EdmComplexPropertyAttribute.cs
- StylusSystemGestureEventArgs.cs
- ComponentConverter.cs
- CodeDelegateCreateExpression.cs
- NotConverter.cs
- ToolStripContainerActionList.cs
- CryptoKeySecurity.cs
- PanelStyle.cs
- Transform.cs
- XPathAncestorIterator.cs
- ApplicationFileParser.cs
- ListViewItem.cs
- FieldAccessException.cs
- EntryPointNotFoundException.cs
- RegistryConfigurationProvider.cs
- EventProxy.cs
- CommandID.cs
- HwndSource.cs
- AxHostDesigner.cs
- QueryCacheKey.cs
- SortDescription.cs
- FileStream.cs
- InteropDesigner.xaml.cs
- RowSpanVector.cs
- SimpleRecyclingCache.cs
- ErrorLog.cs
- PageContentAsyncResult.cs
- IList.cs
- CodeThrowExceptionStatement.cs
- PropertyItem.cs
- MissingManifestResourceException.cs
- SamlAuthorizationDecisionStatement.cs
- DelegatingMessage.cs
- FlowSwitchDesigner.xaml.cs
- RepeaterDataBoundAdapter.cs
- DocumentPageViewAutomationPeer.cs
- SystemInfo.cs
- SqlMethodCallConverter.cs
- TimerEventSubscription.cs
- DataRelation.cs
- IOException.cs
- ColumnProvider.cs
- IERequestCache.cs
- ImpersonateTokenRef.cs
- TextControlDesigner.cs
- ColorTransform.cs
- DefaultAsyncDataDispatcher.cs
- ExpressionLink.cs
- PersonalizationStateInfo.cs
- QilIterator.cs
- XmlAutoDetectWriter.cs
- CodeObjectCreateExpression.cs