/// <summary> /// Create the Microsoft Forums Service provider and pass in the ticket needed to login to the service with /// </summary> /// <remarks>If ticket is invalid (null, empty are incorrect) then you can still connect /// but some functions will throw unauthorized exception</remarks> /// <param name="endpointConfiguration"></param> public MicrosoftForumsServiceProvider(string endpointConfiguration) { EndpointConfigurationName = endpointConfiguration; _service = new ForumsServiceClient(endpointConfiguration); // This would be overridden in the application by DefaultSyncBatchSize in app.config BatchSize = 200; }
/// <summary> /// Create the Microsoft Forums Service provider /// </summary> public MicrosoftForumsServiceProvider() { _service = new ForumsServiceClient(); EndpointConfigurationName = _service.Endpoint.Name; //// This would be overridden in the application by DefaultSyncBatchSize in app.config BatchSize = 200; }