namespace System.ServiceModel
{
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]
    public sealed class ServiceContractAttribute : Attribute
    {
        public ServiceContractAttribute();
    }
}
NetFx Compat Lab
31.8 %
nuget.org
1.0 %
Upgrade Planner
3.0 %
Assembly System.ServiceModel.Primitives , Version=8.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
Package System.ServiceModel.Primitives net8.0
.NET 8.08.0-android8.0-ios8.0-macos8.0-tvos8.0-watchos8.0-windows9.09.0-android9.0-ios9.0-macos9.0-tvos9.0-watchos9.0-windows
.NET Framework 3.03.53.5 (Client)4.04.0 (Client)4.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
Xamarin Android 0.0
Xamarin iOS 0.0
Xamarin macOS 0.0
Xamarin tvOS 0.0
Xamarin watchOS 0.0
OS Platforms

For the selected framework this API is supported on all OS platforms.

  • Built-in API
  • Package-provided API

02/19/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙