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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PackagingUtilities.cs
- WebDescriptionAttribute.cs
- ClockController.cs
- Site.cs
- EntityDataSourceValidationException.cs
- WmlValidationSummaryAdapter.cs
- ControlTemplate.cs
- TreeSet.cs
- CodePageEncoding.cs
- GenericQueueSurrogate.cs
- DeploymentSectionCache.cs
- TableLayoutCellPaintEventArgs.cs
- SafeMILHandle.cs
- FormViewPageEventArgs.cs
- SiteOfOriginPart.cs
- NamedElement.cs
- DataFormats.cs
- AdobeCFFWrapper.cs
- ConstructorExpr.cs
- ApplicationTrust.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- WebReferencesBuildProvider.cs
- WebPartZoneDesigner.cs
- EmptyArray.cs
- PageWrapper.cs
- FormsAuthenticationUser.cs
- AudioStateChangedEventArgs.cs
- FormatterConverter.cs
- sqlinternaltransaction.cs
- SettingsAttributes.cs
- TransformerTypeCollection.cs
- ReaderContextStackData.cs
- StrokeRenderer.cs
- SpeechSynthesizer.cs
- Calendar.cs
- LingerOption.cs
- ClientOptions.cs
- DataBindingExpressionBuilder.cs
- ClientRoleProvider.cs
- LayoutManager.cs
- DataGridColumnReorderingEventArgs.cs
- TypeSource.cs
- SiteMapDataSource.cs
- DynamicDataRouteHandler.cs
- EditorAttributeInfo.cs
- OleDbErrorCollection.cs
- IdentityModelStringsVersion1.cs
- SchemaElement.cs
- AutoScrollExpandMessageFilter.cs
- HealthMonitoringSection.cs
- OptimalTextSource.cs
- COM2ExtendedTypeConverter.cs
- RemotingServices.cs
- Hyperlink.cs
- HttpListenerResponse.cs
- EditorPart.cs
- StringValidator.cs
- HttpException.cs
- FrameworkElementAutomationPeer.cs
- ClientTarget.cs
- ColumnHeaderCollectionEditor.cs
- TreeViewImageKeyConverter.cs
- MessageQueue.cs
- SchemaAttDef.cs
- COM2Enum.cs
- FtpWebRequest.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- WriteableBitmap.cs
- XmlNotation.cs
- DictionaryEntry.cs
- XmlSchemaAny.cs
- SortQuery.cs
- ReadOnlyHierarchicalDataSource.cs
- TabItemAutomationPeer.cs
- RSAOAEPKeyExchangeDeformatter.cs
- ProxyHwnd.cs
- DbConnectionOptions.cs
- PhysicalOps.cs
- XsdValidatingReader.cs
- HtmlElementEventArgs.cs
- AspNetHostingPermission.cs
- SqlFunctionAttribute.cs
- HwndSourceParameters.cs
- ListViewHitTestInfo.cs
- VisualBrush.cs
- PageHandlerFactory.cs
- OutputCacheSettingsSection.cs
- PageBreakRecord.cs
- HiddenField.cs
- ToolboxBitmapAttribute.cs
- WindowsTreeView.cs
- WpfXamlLoader.cs
- FixedSOMPageElement.cs
- HttpDebugHandler.cs
- MessagePropertyVariants.cs
- TypeSource.cs
- GlyphingCache.cs
- ScriptingWebServicesSectionGroup.cs
- NumericUpDownAcceleration.cs
- Solver.cs