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
- AsyncResult.cs
- SqlColumnizer.cs
- SqlInternalConnection.cs
- KnownColorTable.cs
- OleDbCommandBuilder.cs
- OleDbParameterCollection.cs
- HyperLinkStyle.cs
- GeneralTransform3DTo2DTo3D.cs
- XmlAnyElementAttribute.cs
- ValidatorCompatibilityHelper.cs
- SerializationStore.cs
- ChannelManager.cs
- XmlElementAttribute.cs
- NativeMethods.cs
- EntityCollection.cs
- WebPartsSection.cs
- mactripleDES.cs
- GenericUriParser.cs
- ArgIterator.cs
- SQLSingleStorage.cs
- IndentedTextWriter.cs
- DataMemberAttribute.cs
- EncoderNLS.cs
- SrgsSemanticInterpretationTag.cs
- TextRenderer.cs
- XmlSchemaElement.cs
- GlyphInfoList.cs
- TableCell.cs
- MouseButton.cs
- ProxyWebPart.cs
- RowToFieldTransformer.cs
- TaskDesigner.cs
- SizeAnimationBase.cs
- SwitchLevelAttribute.cs
- BridgeDataRecord.cs
- UnknownWrapper.cs
- SmiConnection.cs
- LayoutTable.cs
- Label.cs
- SecurityTokenAuthenticator.cs
- Image.cs
- BaseUriHelper.cs
- Funcletizer.cs
- LabelInfo.cs
- AppDomainShutdownMonitor.cs
- ObjectListField.cs
- ExcCanonicalXml.cs
- EventLogPermissionEntryCollection.cs
- DataGridViewEditingControlShowingEventArgs.cs
- HttpContextServiceHost.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- BaseResourcesBuildProvider.cs
- PeerReferralPolicy.cs
- DmlSqlGenerator.cs
- ZipIOCentralDirectoryBlock.cs
- CommunicationObjectAbortedException.cs
- ModelPropertyDescriptor.cs
- TextCompositionEventArgs.cs
- Token.cs
- XmlAttributeCollection.cs
- EventProvider.cs
- WebPartConnectionsConnectVerb.cs
- DBSchemaRow.cs
- BrowserInteropHelper.cs
- ZoneLinkButton.cs
- BookmarkScopeManager.cs
- LocatorPartList.cs
- CheckBoxList.cs
- ToolZoneDesigner.cs
- HtmlTitle.cs
- PerformanceCounterManager.cs
- Margins.cs
- ContextMenuStrip.cs
- GorillaCodec.cs
- ZipIOBlockManager.cs
- DefaultValidator.cs
- KoreanLunisolarCalendar.cs
- SqlRecordBuffer.cs
- AppSettingsExpressionBuilder.cs
- ClientScriptManagerWrapper.cs
- TransformerConfigurationWizardBase.cs
- TreeView.cs
- TaskbarItemInfo.cs
- DataGridViewRowPrePaintEventArgs.cs
- SplashScreen.cs
- ApplicationServicesHostFactory.cs
- ConfigWriter.cs
- TextBoxDesigner.cs
- WindowsMenu.cs
- HtmlEmptyTagControlBuilder.cs
- QueryUtil.cs
- BamlReader.cs
- MouseEvent.cs
- SerialErrors.cs
- ToolStripButton.cs
- Cast.cs
- XpsFilter.cs
- QilFunction.cs
- EventLogSession.cs
- Inflater.cs