Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / infocard / Service / managed / Microsoft / InfoCards / SetUserLanguageRequest.cs / 1 / SetUserLanguageRequest.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace Microsoft.InfoCards { using System; using System.Collections.Generic; using System.IO; using System.Text; class SetUserLanguageRequest : UIAgentRequest { int m_lcid; public SetUserLanguageRequest( IntPtr rpcHandle, Stream inArgs, Stream outArgs, ClientUIRequest parent ) : base( rpcHandle, inArgs, outArgs, parent ) { } protected override void OnInitializeAsSystem() { base.OnInitializeAsSystem(); } protected override void OnMarshalInArgs() { BinaryReader reader = new InfoCardBinaryReader( InArgs, Encoding.Unicode ); m_lcid = (int)reader.ReadUInt32(); } protected override void OnProcess() { ParentRequest.UserLanguage = m_lcid; } 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
- ConditionalAttribute.cs
- CounterSampleCalculator.cs
- InvalidDataException.cs
- SoapElementAttribute.cs
- TreePrinter.cs
- metrodevice.cs
- CultureMapper.cs
- GridViewRowEventArgs.cs
- DesignerLoader.cs
- RepeatBehavior.cs
- XmlQueryType.cs
- InkCanvasFeedbackAdorner.cs
- CompensatableTransactionScopeActivityDesigner.cs
- TypeToken.cs
- TransactionState.cs
- ParameterModifier.cs
- AliasedSlot.cs
- SendActivityDesigner.cs
- DataKeyArray.cs
- WebPartUtil.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ActivationArguments.cs
- Messages.cs
- WebSysDescriptionAttribute.cs
- ScriptReferenceEventArgs.cs
- RemotingServices.cs
- GridViewPageEventArgs.cs
- TypedReference.cs
- PersonalizationState.cs
- ChangePassword.cs
- SqlBulkCopy.cs
- ResourceReferenceExpressionConverter.cs
- OdbcInfoMessageEvent.cs
- Base64WriteStateInfo.cs
- SweepDirectionValidation.cs
- HttpConfigurationSystem.cs
- BitVector32.cs
- XhtmlTextWriter.cs
- ObjectCloneHelper.cs
- AssemblyEvidenceFactory.cs
- PropertyIdentifier.cs
- DoubleAnimation.cs
- ComponentManagerBroker.cs
- GifBitmapEncoder.cs
- RTLAwareMessageBox.cs
- AppSettingsExpressionBuilder.cs
- UnsafeNativeMethods.cs
- ProcessModule.cs
- QueryOptionExpression.cs
- PropertyGeneratedEventArgs.cs
- VectorKeyFrameCollection.cs
- SubtreeProcessor.cs
- XmlQueryOutput.cs
- IndexedEnumerable.cs
- RayMeshGeometry3DHitTestResult.cs
- ComponentSerializationService.cs
- SerializationException.cs
- CheckBoxRenderer.cs
- Accessible.cs
- CompiledQuery.cs
- FactoryGenerator.cs
- ToolStripSystemRenderer.cs
- XmlUtilWriter.cs
- OdbcConnectionFactory.cs
- SqlColumnizer.cs
- XmlSchemaGroup.cs
- OleDbDataReader.cs
- SoapReflector.cs
- odbcmetadatacollectionnames.cs
- Panel.cs
- Calendar.cs
- TextStore.cs
- AuthenticationConfig.cs
- TextRunCache.cs
- RectAnimationBase.cs
- QilTernary.cs
- Sentence.cs
- SoapAttributes.cs
- ColorInterpolationModeValidation.cs
- WindowsUpDown.cs
- Funcletizer.cs
- GridViewRowPresenter.cs
- ProcessModule.cs
- HelpKeywordAttribute.cs
- InkCanvasSelection.cs
- Exceptions.cs
- NTAccount.cs
- ObjectListCommandsPage.cs
- ElementNotAvailableException.cs
- XmlSerializerSection.cs
- ServicesUtilities.cs
- NavigateEvent.cs
- DecoderExceptionFallback.cs
- CustomAttributeBuilder.cs
- Constraint.cs
- SqlClientPermission.cs
- IntSecurity.cs
- BufferManager.cs
- FormDesigner.cs
- TypeConverterHelper.cs