Search Results for

    Show / Hide Table of Contents

    Interface IClientChannelFactory

    The factory for creating a channel for the client to the server

    Namespace: ImageVault.Client
    Assembly: ImageVault.Client.dll
    Syntax
    public interface IClientChannelFactory

    Properties

    Cookies

    Optional cookies to pass along to the channel

    Declaration
    IDictionary<string, string> Cookies { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.String>

    Timeout

    Get/Sets the Timeout of the IClient

    Declaration
    Nullable<int> Timeout { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    The number of milliseconds to wait before the request times out. The default value is 100,000 milliseconds (100 seconds).

    Methods

    CreateChannel<T>()

    Creates a channel to a service

    Declaration
    T CreateChannel<T>()
    Returns
    Type Description
    T

    The proxy channel to use for calling the service

    Type Parameters
    Name Description
    T

    The type of the contract interface to call

    CreateRestChannel()

    Creates a dynamic channel

    Declaration
    IRestClientProxyInvoker CreateRestChannel()
    Returns
    Type Description
    IRestClientProxyInvoker

    Extension Methods

    EnumExtensions.GetNames<TEnum>(TEnum)
    In This Article
    Back to top (c) Meriworks 2002-2022