TableServiceContext Constructor

Storage Client Library NET API

[This topic is part of the Microsoft Azure Storage Client Library 1.7, which has been deprecated. See Storage Client Library for the latest version.]

Initializes a new instance of the TableServiceContext class.

Namespace: Microsoft.WindowsAzure.StorageClient
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)

Usage

Visual Basic
Dim baseAddress As String
Dim credentials As StorageCredentials

Dim instance As New TableServiceContext(baseAddress, credentials)

Syntax

Visual Basic
Public Sub New ( _
	baseAddress As String, _
	credentials As StorageCredentials _
)
C#
public TableServiceContext (
	string baseAddress,
	StorageCredentials credentials
)
C++
public:
TableServiceContext (
	String^ baseAddress, 
	StorageCredentials^ credentials
)
J#
JScript

Parameters

baseAddress

Type: System.String

The Table service endpoint to use create the service context.

credentials

Type: Microsoft.WindowsAzure.StorageCredentials

The account credentials.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

See Also