Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx35 / System.ServiceModel.Web / System / ServiceModel / Web / JavascriptCallbackBehaviorAttribute.cs / 1305376 / JavascriptCallbackBehaviorAttribute.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Web { using System; using System.ServiceModel.Description; using System.ServiceModel.Dispatcher; using System.ServiceModel.Channels; using System.ServiceModel.Web; using System.ServiceModel.Administration; using System.Collections.Generic; [AttributeUsage(AttributeTargets.Class, AllowMultiple=false)] public sealed class JavascriptCallbackBehaviorAttribute : Attribute, IContractBehavior { string urlParameterName; public string UrlParameterName { get { return urlParameterName; } set { if (string.IsNullOrEmpty(value)) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value")); } else { urlParameterName = value; } } } public JavascriptCallbackBehaviorAttribute() { } public void AddBindingParameters(ContractDescription contractDescription, ServiceEndpoint endpoint, System.ServiceModel.Channels.BindingParameterCollection bindingParameters) { } public void ApplyClientBehavior(ContractDescription contractDescription, ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.ClientRuntime clientRuntime) { } public void ApplyDispatchBehavior(ContractDescription contractDescription, ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.DispatchRuntime dispatchRuntime) { } public void Validate(ContractDescription contractDescription, ServiceEndpoint endpoint) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HitTestFilterBehavior.cs
- TextSelectionHighlightLayer.cs
- SynchronizedPool.cs
- OleDbFactory.cs
- FragmentNavigationEventArgs.cs
- GrammarBuilderPhrase.cs
- SyntaxCheck.cs
- SortKey.cs
- IgnoreFlushAndCloseStream.cs
- OnOperation.cs
- XmlSubtreeReader.cs
- ContainsRowNumberChecker.cs
- RectangleGeometry.cs
- CipherData.cs
- BinaryFormatter.cs
- DesignerSelectionListAdapter.cs
- ObjectQuery_EntitySqlExtensions.cs
- AssociationSet.cs
- StyleSelector.cs
- dataprotectionpermission.cs
- GradientBrush.cs
- DelegateTypeInfo.cs
- FileEnumerator.cs
- WebPartDescriptionCollection.cs
- AttributedMetaModel.cs
- ComPersistableTypeElementCollection.cs
- SmiRequestExecutor.cs
- EdmError.cs
- RuntimeArgumentHandle.cs
- MembershipPasswordException.cs
- DriveInfo.cs
- MsmqSecureHashAlgorithm.cs
- NamedPipeAppDomainProtocolHandler.cs
- NestedContainer.cs
- Utils.cs
- FormViewInsertEventArgs.cs
- ColumnClickEvent.cs
- JsonDeserializer.cs
- DataGridViewButtonColumn.cs
- CompilationRelaxations.cs
- DBConnection.cs
- HtmlInputSubmit.cs
- InstanceOwnerQueryResult.cs
- HotSpotCollection.cs
- HtmlToClrEventProxy.cs
- GlyphingCache.cs
- XmlEncodedRawTextWriter.cs
- RemotingConfiguration.cs
- BezierSegment.cs
- MSAAWinEventWrap.cs
- securitycriticaldataClass.cs
- BitmapEffectState.cs
- MenuAdapter.cs
- ListViewItem.cs
- IApplicationTrustManager.cs
- DropSource.cs
- CrossSiteScriptingValidation.cs
- Facet.cs
- EditingMode.cs
- MediaContext.cs
- documentation.cs
- OutputBuffer.cs
- Listbox.cs
- TypedRowHandler.cs
- RelatedView.cs
- LicenseManager.cs
- WebSysDescriptionAttribute.cs
- ConstNode.cs
- GenericXmlSecurityToken.cs
- _Connection.cs
- FieldTemplateFactory.cs
- ObjectIDGenerator.cs
- PageTheme.cs
- DataGridViewComboBoxEditingControl.cs
- panel.cs
- PrefixQName.cs
- MessageEncoder.cs
- UiaCoreProviderApi.cs
- SupportingTokenListenerFactory.cs
- ConstructorNeedsTagAttribute.cs
- PolicyValidationException.cs
- SizeConverter.cs
- TextChangedEventArgs.cs
- OrthographicCamera.cs
- __ConsoleStream.cs
- ExpressionBindingCollection.cs
- EntityDesignerUtils.cs
- CharAnimationUsingKeyFrames.cs
- SplayTreeNode.cs
- MembershipValidatePasswordEventArgs.cs
- DataGridViewCellLinkedList.cs
- SQLChars.cs
- ProcessHostMapPath.cs
- PieceDirectory.cs
- MessageQueuePermission.cs
- DesignerAutoFormatCollection.cs
- SelectedDatesCollection.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- FlagsAttribute.cs
- XmlNodeReader.cs