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
- ToolboxCategoryItems.cs
- BoundConstants.cs
- InputLangChangeRequestEvent.cs
- LongSumAggregationOperator.cs
- IISUnsafeMethods.cs
- CombinedGeometry.cs
- Scanner.cs
- TextRunTypographyProperties.cs
- LinkGrep.cs
- DesignerHierarchicalDataSourceView.cs
- MobileComponentEditorPage.cs
- GenerateHelper.cs
- FormViewModeEventArgs.cs
- CodeExpressionStatement.cs
- PiiTraceSource.cs
- PointLight.cs
- InputLanguageCollection.cs
- SoapTransportImporter.cs
- DropDownList.cs
- TakeOrSkipQueryOperator.cs
- XmlSchemaAnnotated.cs
- WebHttpDispatchOperationSelector.cs
- HtmlTableCellCollection.cs
- IProvider.cs
- handlecollector.cs
- NumberFormatInfo.cs
- HtmlInputControl.cs
- SerialReceived.cs
- Compilation.cs
- AttachedPropertyBrowsableAttribute.cs
- altserialization.cs
- ParameterSubsegment.cs
- Visitor.cs
- AnyAllSearchOperator.cs
- StorageSetMapping.cs
- ClientSession.cs
- TraceFilter.cs
- PrePostDescendentsWalker.cs
- Filter.cs
- IdentityNotMappedException.cs
- DropDownList.cs
- OrderedDictionary.cs
- SmtpNtlmAuthenticationModule.cs
- Int32EqualityComparer.cs
- WebPartVerb.cs
- MenuItem.cs
- ToolboxItemAttribute.cs
- FunctionMappingTranslator.cs
- TagPrefixInfo.cs
- SHA256Cng.cs
- WebContext.cs
- XmlEventCache.cs
- WindowsTreeView.cs
- SecurityTokenException.cs
- KeyTime.cs
- DataSourceHelper.cs
- WindowsImpersonationContext.cs
- DesignBindingPicker.cs
- ProviderException.cs
- __Filters.cs
- WsdlEndpointConversionContext.cs
- MetadataCache.cs
- SafeHandles.cs
- StrokeNodeOperations.cs
- OleDbException.cs
- SqlBulkCopyColumnMappingCollection.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- InvalidAsynchronousStateException.cs
- XmlSchemaComplexContent.cs
- Stack.cs
- SQLGuid.cs
- AttributeQuery.cs
- SqlGenerator.cs
- GenericTypeParameterBuilder.cs
- BulletedList.cs
- SymbolPair.cs
- EntityContainerAssociationSetEnd.cs
- TheQuery.cs
- QilBinary.cs
- ActionItem.cs
- RayHitTestParameters.cs
- CellIdBoolean.cs
- Brush.cs
- ActivityCollectionMarkupSerializer.cs
- Scripts.cs
- InfoCardTrace.cs
- ILGenerator.cs
- ConnectionManager.cs
- XmlSortKey.cs
- GridItem.cs
- SymbolUsageManager.cs
- RepeatBehavior.cs
- CombinedGeometry.cs
- FlowDecisionLabelFeature.cs
- MoveSizeWinEventHandler.cs
- ResourcesBuildProvider.cs
- BuildDependencySet.cs
- APCustomTypeDescriptor.cs
- ScrollChrome.cs
- _DisconnectOverlappedAsyncResult.cs