MobileServiceClient.WithFilter Method
Creates a new MobileServiceClient with a filter used to process all of its HTTP requests and responses.
Namespace: Microsoft.WindowsAzure.MobileServices
Assembly: Microsoft.WindowsAzure.MobileServices.Managed (in Microsoft.WindowsAzure.MobileServices.Managed.dll)
Syntax
'Declaration
Public Function WithFilter ( _
filter As IServiceFilter _
) As MobileServiceClient
'Usage
Dim instance As MobileServiceClient
Dim filter As IServiceFilter
Dim returnValue As MobileServiceClient
returnValue = instance.WithFilter(filter)
public MobileServiceClient WithFilter(
IServiceFilter filter
)
public:
MobileServiceClient^ WithFilter(
IServiceFilter^ filter
)
member WithFilter :
filter:IServiceFilter -> MobileServiceClient
public function WithFilter(
filter : IServiceFilter
) : MobileServiceClient
Parameters
- filter
Type: Microsoft.WindowsAzure.MobileServices.IServiceFilter
The service filter.
Return Value
Type: Microsoft.WindowsAzure.MobileServices.MobileServiceClient
The MobileServiceClient that is associated with the service filter.