Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / ServiceKnownTypeAttribute.cs / 1 / ServiceKnownTypeAttribute.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel { [AttributeUsage(ServiceModelAttributeTargets.ServiceContract | ServiceModelAttributeTargets.OperationContract, Inherited = true, AllowMultiple = true)] public sealed class ServiceKnownTypeAttribute : Attribute { Type declaringType; string methodName; Type type; private ServiceKnownTypeAttribute() { // Disallow default constructor } public ServiceKnownTypeAttribute(Type type) { this.type = type; } public ServiceKnownTypeAttribute(string methodName) { this.methodName = methodName; } public ServiceKnownTypeAttribute(string methodName, Type declaringType) { this.methodName = methodName; this.declaringType = declaringType; } public Type DeclaringType { get { return declaringType; } } public string MethodName { get { return methodName; } } public Type Type { get { return type; } } } } // 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
- SkewTransform.cs
- TextEditorContextMenu.cs
- unitconverter.cs
- AbsoluteQuery.cs
- SemanticTag.cs
- SqlConnectionPoolGroupProviderInfo.cs
- DeclarationUpdate.cs
- NegationPusher.cs
- TextAnchor.cs
- RayMeshGeometry3DHitTestResult.cs
- ParagraphVisual.cs
- sitestring.cs
- DeferredElementTreeState.cs
- StreamWithDictionary.cs
- AsymmetricSignatureFormatter.cs
- ListItemConverter.cs
- DataGridCellItemAutomationPeer.cs
- GroupDescription.cs
- CommonDialog.cs
- ProfileInfo.cs
- TextServicesContext.cs
- MissingSatelliteAssemblyException.cs
- TemplateParser.cs
- OperationBehaviorAttribute.cs
- MailWebEventProvider.cs
- MultiBindingExpression.cs
- CombinedGeometry.cs
- AsmxEndpointPickerExtension.cs
- ISAPIWorkerRequest.cs
- CultureTable.cs
- mactripleDES.cs
- RemoteX509AsymmetricSecurityKey.cs
- NativeActivity.cs
- SoapParser.cs
- DictationGrammar.cs
- SafeThreadHandle.cs
- Panel.cs
- BindableTemplateBuilder.cs
- RegistryConfigurationProvider.cs
- ConfigXmlReader.cs
- HeaderCollection.cs
- precedingquery.cs
- Int32.cs
- BinarySecretSecurityToken.cs
- TagNameToTypeMapper.cs
- AssemblyNameProxy.cs
- DataContractJsonSerializer.cs
- EmptyWorkItem.cs
- RelationshipDetailsRow.cs
- ListViewUpdateEventArgs.cs
- SqlMethodAttribute.cs
- WindowsTooltip.cs
- SqlDataSourceCache.cs
- PropertyMappingExceptionEventArgs.cs
- TemplateBindingExtension.cs
- SqlUserDefinedAggregateAttribute.cs
- DecimalConverter.cs
- GroupBoxRenderer.cs
- SiteMapNode.cs
- SQLMembershipProvider.cs
- Array.cs
- GcHandle.cs
- BufferedWebEventProvider.cs
- RepeaterItemEventArgs.cs
- ProfileInfo.cs
- ScaleTransform.cs
- Frame.cs
- BuildResultCache.cs
- Int32Storage.cs
- HtmlHead.cs
- UxThemeWrapper.cs
- DecoderFallback.cs
- HtmlEncodedRawTextWriter.cs
- KeyPressEvent.cs
- LineProperties.cs
- AssemblyBuilderData.cs
- ListView.cs
- DrawToolTipEventArgs.cs
- DataRowExtensions.cs
- EncodingConverter.cs
- DataChangedEventManager.cs
- CipherData.cs
- BufferModesCollection.cs
- _NegotiateClient.cs
- DateTimeFormat.cs
- PackagePartCollection.cs
- CountAggregationOperator.cs
- MappingItemCollection.cs
- MonikerHelper.cs
- RSACryptoServiceProvider.cs
- TextDecorationCollection.cs
- Sql8ExpressionRewriter.cs
- Permission.cs
- DataGridHeaderBorder.cs
- ResourceManagerWrapper.cs
- ThrowHelper.cs
- FormParameter.cs
- WorkflowMarkupSerializationManager.cs
- ColorBlend.cs
- CommandField.cs