SBSWebServiceBehaviorAttribute Class
Represents the SBSWebServiceBehavior attribute, which is applied to the class that implements the web service.
Assembly: Wssg.WebApi.Framework (in Wssg.WebApi.Framework.dll)
System::Attribute
Microsoft.WindowsServerSolutions.WebApi.Framework::SBSWebServiceBehaviorAttribute
| Name | Description | |
|---|---|---|
![]() | SBSWebServiceBehaviorAttribute() | Initializes a new instance of the SBSWebServiceBehaviorAttribute class with the default options. |
![]() | SBSWebServiceBehaviorAttribute(String^) | Initializes a new instance of the SBSWebServiceBehaviorAttribute class with a comma-separated string of authorization roles that are required. |
![]() | SBSWebServiceBehaviorAttribute(array<WindowsBuiltInRole>^) | Initializes a new instance of the SBSWebServiceBehaviorAttribute class with an array of authorization roles that are required. |
| Name | Description | |
|---|---|---|
![]() | AuthorizationRoleIds | Gets the list of identifiers of the current authorization roles. |
![]() | AuthorizationRoles | Gets a string that represents the authorization roles. |
![]() | TypeId | (Inherited from Attribute.) |
| Name | Description | |
|---|---|---|
![]() | AddBindingParameters(ServiceDescription^, ServiceHostBase^, Collection<ServiceEndpoint^>^, BindingParameterCollection^) | Adds binging parameters to the web service. This method is not implemented. |
![]() | ApplyDispatchBehavior(ServiceDescription^, ServiceHostBase^) | Provides the ability to change run-time property values or insert custom extension objects such as error handlers, message or parameter interceptors, security extensions, and other custom extension objects. |
![]() | Equals(Object^) | (Inherited from Attribute.) |
![]() | GetHashCode() | (Inherited from Attribute.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsDefaultAttribute() | (Inherited from Attribute.) |
![]() | Match(Object^) | (Inherited from Attribute.) |
![]() | ToString() | (Inherited from Object.) |
![]() | Validate(ServiceDescription^, ServiceHostBase^) | Validates the web service. This method is not implemented. |
| Name | Description | |
|---|---|---|
![]() ![]() | _Attribute::GetIDsOfNames(Guid%, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute::GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute::GetTypeInfoCount(UInt32%) | (Inherited from Attribute.) |
![]() ![]() | _Attribute::Invoke(UInt32, Guid%, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
A sample declaration of this attribute is [SBSWebServiceBehavior("Administrators,RemoteUserGroup")], which specifies that the web service requires the user to belong to both the administrator and remote user groups. Alternatively, [SBSWebServiceBehavior()] means that there is no authorization requirement.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



