SchemaCreatedEventArgs Constructor
Initializes a new instance of the SchemaCreatedEventArgs class by using synchronization table, schema, connection, and transaction parameters.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public Sub New ( _
syncTable As SyncTable, _
syncSchema As SyncSchema, _
connection As IDbConnection, _
transaction As IDbTransaction _
)
'Usage
Dim syncTable As SyncTable
Dim syncSchema As SyncSchema
Dim connection As IDbConnection
Dim transaction As IDbTransaction
Dim instance As New SchemaCreatedEventArgs(syncTable, _
syncSchema, connection, transaction)
public SchemaCreatedEventArgs(
SyncTable syncTable,
SyncSchema syncSchema,
IDbConnection connection,
IDbTransaction transaction
)
public:
SchemaCreatedEventArgs(
SyncTable^ syncTable,
SyncSchema^ syncSchema,
IDbConnection^ connection,
IDbTransaction^ transaction
)
new :
syncTable:SyncTable *
syncSchema:SyncSchema *
connection:IDbConnection *
transaction:IDbTransaction -> SchemaCreatedEventArgs
public function SchemaCreatedEventArgs(
syncTable : SyncTable,
syncSchema : SyncSchema,
connection : IDbConnection,
transaction : IDbTransaction
)
Parameters
- syncTable
Type: Microsoft.Synchronization.Data.SyncTable
A SyncTable object that contains settings for the table that was created.
- syncSchema
Type: Microsoft.Synchronization.Data.SyncSchema
A SyncSchema object. This is a DataSet that contains schema information for the table that was created.
- connection
Type: System.Data.IDbConnection
An IDbConnection object that contains a connection to the client or server database.
- transaction
Type: System.Data.IDbTransaction
An IDbTransaction object that contains the transaction within which the schema was created.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | syncTable is a null reference (Nothing in Visual Basic). |